http://qs1969.pair.com?node_id=470459


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.
  • Comment on Re^2: Here you go: an example of top-down FP