| Do you mean if I have both an infinite loop and an error call, then I
| might get only the loop?

Absolutely.

f x = error "urk"
loop n = loop (n+1)
main = print (f (loop 0))

The compiler figures out that f is strict, and uses call by value.  Result is a 
loop.

Simon
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to