Scalaz Demo Code

Here are some examples demonstrating the use of the Scalaz extension to the Scala libraries.

http://tinyurl.com/2tf5ma Boolean (additional functions i.e. implication)
http://tinyurl.com/3×4el9 Effect (side-effect)
http://tinyurl.com/3yf6vr File (reading Files)
http://tinyurl.com/2s74km Either (disjoint union)
http://tinyurl.com/3xlpbn Monad
http://tinyurl.com/2sbn2h Foldable (Catamorphism)
http://tinyurl.com/326rdx Paramorphism
http://tinyurl.com/2n8uh3 Validation (Either[A, _] lift)
http://tinyurl.com/2r5g6r Memoisation (0-1 Knapsack DPA)

2 Responses to “Scalaz Demo Code”

  1. Rahul G Says:

    Tony,

    The links on this page seem to be broken. Please fix them.

    Thanks.

  2. Tony Morris Says:

    Thanks Rahul. These links are quite old.

    Please use the following from a build on 15 February 2010:
    http://code.google.com/p/scalaz/source/browse/continuous/#continuous/2010-02-15+64.581201s/example/scalaz

    Newer builds will be published to:
    http://code.google.com/p/scalaz/source/browse/continuous/#continuous

Leave a Reply