dav.vire+haskell:
> On 9/12/07, VinyleEm <[EMAIL PROTECTED]> wrote:
>
> > projects there, some of them being incomplete. Could you please suggest me
> > some project, from which i can learn the State Monad.
>
> xmonad perhaps ?
Yes, I think xmonad is a good example of the standard Haskell approach to
server/long running/interactive software in the language.
A skin of code runs in either:
newtype M = M (StateT State
IO) a
or
newtype M = M (ReaderT Config
(StateT State
IO)) a
deriving (Functor, Monad, MonadState)
Is the basic environment these interactive programs run in.
-- Don
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe