Scalaz


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:

3 Responses to “Scalaz”

  1. John "Z-Bo" Zabroski Says:

    Is scalaz an intended pun based on javax? If not, where else might the name come from?

  2. Tony Morris Says:

    The pun is not intended, I just suck at thinking up names ;) What would you have called it?

  3. John "Z-Bo" Zabroski Says:

    I don’t know. It seems the documentation isn’t complete, so I would probably have called it something like Scalaz until the more important stuff was done.

    What about the business management term for organizing buckets of information: TRAF?
    Toss itRefer itAct on it personallyFile it

    What do you think? Does TRAF provide enough breadth?

Leave a Reply