
12 Sep
2007
12 Sep
'07
6:20 p.m.
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.