[Haskell-beginners] recursively building lists

Edward Z. Yang ezyang at MIT.EDU
Tue Dec 8 18:01:14 EST 2009


Excerpts from Edward Z. Yang's message of Tue Dec 08 17:45:19 -0500 2009:
> Excerpts from Torsten Otto's message of Tue Dec 08 17:34:30 -0500 2009:
> > testlist 1 = []:[]
> > testlist n = []:(testlist n-1)
> 
> Works for me on GHC 6.10.4.  What compiler are you using?

Ah, it compiles, but refuses to run.  Please ignore me. :-)

Edward


More information about the Beginners mailing list