[Haskell] Fwd: Mutually dependent functions

haskell at list.mightyreason.com haskell at list.mightyreason.com
Mon Jun 11 18:37:12 EDT 2007

You may also want to read the discussions on and linked to from:


You may also want to consult my regular expression library regex-tdfa which has
a Parsec parser for extended regular expressions at:


which makes a Pattern data type as the result of parsing which is defined in:

The laziness works for multiple functions but it must be correct.  In "c" it is
easy to make "goto" based code into an infinite loop, or to dereference a null
pointer.  In Haskell it is easy to define "x=y ; y=x" and enter an infinite loop.

Chris Kuklewicz

More information about the Haskell mailing list