
30 Dec
2007
30 Dec
'07
4:13 p.m.
2007/12/30, Cristian Baboi
A simple question:
Can you write the value of x to a file where x = (1:x) ?
Yes, but you'll have to write it yourself, because Haskell can't decide by itself that this value is infinite and try to print it with a recursive definition, if it could do that, it could decide the halting problem and that's not possible. -- Jedaï