[Haskell-cafe] Code Example and Haskell Patterns

Don Stewart dons at galois.com
Thu Jul 8 15:35:23 EDT 2010


ali.razavi:
> Hi,
> 
> Hackage is a sizable repository of Haskell code; makes me wonder if there is a
> way to use it more effectively for pedagogical purposes. For example, I really
> would like to study State monad, monad transformers, applicative, arrows etc.
> in action--i.e., in the context of a real application rather than small toy
> examples commonly found in tutorials. If there isn't such a source, can someone
> point me to an application whose implementation you would consider being a
> paragon for said concepts?

xmonad uses monad transformers in a canonical fashion, IMO.

For applicatives, some of the parser combinator libraries, like cereal,
provide good use.

You can follow the reverse dependencies to find packages that use things
you're interested in:

    http://bifunctor.homelinux.net/~roel/cgi-bin/hackage-scripts/revdeps/arrows-0.4.2.0#direct

-- Don


More information about the Haskell-Cafe mailing list