[Haskell-cafe] forall & ST monad

Peter Verswyvelen bugfact at gmail.com
Sun Feb 15 11:50:07 EST 2009

I'm having trouble understanding the explanation of the meaning of the
signature of runST at

I could try to read the article a couple of times again, but are there any
other good readings about these existentially quantified types and how the
ST monad works?

I'm currently only using forall in combination with type classes, as in data
MVC m v = forall c. Controller c => MVC m v c

However - as the article mentions - forall can also be used to constrain the
scope of type variables, but I don't get it yet.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090215/9477c820/attachment-0001.htm

More information about the Haskell-Cafe mailing list