λ Tony's Blog λ

Scalaz

Posted on December 18, 2007

Scalaz is a library written using the Scala Programming Language and tested using ScalaCheck (maintained by myself and Rickard Nilsson) automated specification-based testing. It is released under a BSD open source licence.

Features include:

  • The Either Algebraic Data Type and general functions over that type

  • Enhanced Option type

  • Control package (Functor, Monad, MonadPlus, Foldable, etc.)

  • Transparent memoisation, loosley inspired by a paper written by Simon Peyton-Jones, Simon Marlow, and Conal Elliott (IFL ’99) titled, “Stretching the storage manager: weak pointers and stable names in Haskell”

  • Validation package for web form field validation (using Either and monadic functions across it)

Links: