[Haskell-cafe] Re: [Haskell] What's up with this Haskell runtime error message:

Jon Fairbairn jon.fairbairn at cl.cam.ac.uk
Wed Apr 5 14:38:05 EDT 2006


On 2006-04-05 at 14:03EDT "Michael Goodrich" wrote:
> BTW, I can't seem to locate 'haskell-cafe'.

http://www.haskell.org/mailman/listinfo/haskell-cafe

> The message responding to my sign-up said nothing about
> haskell-cafe.

Perhaps it should. It's so long since I signed up to haskell
that I've forgotten what the sign-up message says.

> Also, in my infinte-looping application, I am wrapping the
> calculation in a 'take 1000' function - shouldn't this
> guarantee termination?

Not on its own

   loop = loop:: Char
   l = [1,2,3,loop,5,6]

   putStr $ show $ take 4 l

will print 1 2 and 3 and then loop when trying to find the
value for the fourth.

-- 
Jón Fairbairn                              Jon.Fairbairn at cl.cam.ac.uk




More information about the Haskell-Cafe mailing list