[Haskell-cafe] Seeking advice on a style question
mutjida at gmail.com
Sun Dec 24 10:39:19 EST 2006
> 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.
More information about the Haskell-Cafe