VinyleEm wrote:
In particular i need to find some project/program which
extensively uses the State Monad.
Perhaps you could tell us why you think you need the State Monad? It may be that there are easier ways of dealing with this.

For an assembler you need to build up a symbol table based on symbols found during parsing. If you are using Parsec then the GenParser type (if I recall correctly) has a state parameter for doing exactly this. You will probably find this easier to work with than having separate State and Parser monads.

Paul.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to