Continuing with the monad theme, I decided to implement monadic
parsing in Clojure.  Erik Meijer and Graham Hutton published a paper
called "Monadic Parsing in Haskell" and I implemented the examples
from that paper in Clojure.  The code is available here:

http://groups.google.com/group/clojure/web/monad-parser.clj

And you also need the monad code from here:

http://clojure.googlegroups.com/web/monad-redux.clj

The code is uncommented and should be read in parallel with the
original paper from here (pdf):

http://www.cs.nott.ac.uk/~gmh/pearl.pdf

Comments welcome.

Next up: monad transformers

Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to