
22 Jul
2003
22 Jul
'03
8:16 a.m.
On Monday, 2003-07-21, 14:36, CEST, David Roundy wrote:
[...]
My guess would be to try running
main = putStr $ unlines $ map show $ filter magicP sqs
It may be that print is doing something like checking the length of the list which would of course not allow for lazy printing.
Is print allowed to do so? Maybe, the problem has something to do with buffering. I encountered similar problems with GHCi. Wolfgang