15 Jun
2003
15 Jun
'03
8:10 p.m.
Dnia pią 13. czerwca 2003 16:34, Dean Herington napisał:
`seq` guarantees only enough evaluation to determine whether its first argument is bottom. That's why your commented code reads only the first character. You need to evaluate the entire string. As someone else suggested, `deepSeq` is one way to do this.
There is simpler: foldr seq (return ()) str -- __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/