
18 Sep
2008
18 Sep
'08
5:06 p.m.
On Thu, 2008-09-18 at 21:15 +0200, Henning Thielemann wrote:
Think of the state monad as processing a graph in-place. Which graph is addressed is declared when running the State monad using runState or evalState.
Interesting. Is it good practice then to do something like type GraphM a b = State (Graph a b) to hide from the user that I'm using the State monad underneath? Best, Andre