[Haskell-cafe] Seeking advice on a style question

jeff p mutjida at gmail.com
Sun Dec 24 10:39:19 EST 2006


Hello,

> Alternatively, I can wrap all of the state up into a single universal
> structure that holds everything I will ever need at every step, but
> doing so seems to me to fly in the face of strong typing; at the early
> stages of processing, the structure will have "holes" in it that don't
> contain useful values and shouldn't be accessed.
>
You might want to look at the following threads discussing how to make
variable-state monad like structures.

http://permalink.gmane.org/gmane.comp.lang.haskell.cafe/17706

http://www.haskell.org/pipermail/haskell/2006-December/018917.html

-Jeff


More information about the Haskell-Cafe mailing list