[Haskell-cafe] do statement

Greg Buchholz haskell at sleepingsquirrel.org
Tue Apr 26 12:20:47 EDT 2005


Walt Potter wrote:
> Can anyone point me to examples of using the do statement which does 
> not involve IO?
> 
> I find that the texts I have do not provide enough examples.


    Tale a look at the documentation for Parsec, you'll find many
examples of "do" with no I/O.

http://www.cs.uu.nl/~daan/download/parsec/parsec.html


Greg Buchholz



More information about the Haskell-Cafe mailing list