
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. Thanks, Walt

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

At 10:35 AM -0500 2005/4/26, Walt Potter wrote:
Can anyone point me to examples of using the do statement which does not involve IO?
ParseLib.hs, which is packaged with Hugs, has many examples. -- ------------------------------------------------------------------ Hamilton Richards, PhD Department of Computer Sciences Senior Lecturer The University of Texas at Austin 512-471-9525 1 University Station C0500 Taylor Hall 5.138 Austin, Texas 78712-0233 ham@cs.utexas.edu hrichrds@swbell.net http://www.cs.utexas.edu/users/ham/richards ------------------------------------------------------------------
participants (3)
-
Greg Buchholz
-
Hamilton Richards
-
Walt Potter