in reply to
Re: Here you go: an example of top-down FP
in thread TMTOWTDI... and most of them are wrong
The interact function is indeed part of the Prelude. In Haskell 98 it is defined in the IO module, which the Prelude imports and then exports certain symbols from, including interact.
Tom Moertel : Blog / Talks / CPAN / LectroTest / PXSL / Coffee / Movie Rating Decoder
Results (310 votes),