"interact" behaves oddly if used interactively
maeder at tzi.de
Wed Oct 1 18:36:55 EDT 2003
>>>Can actually someone supply an implementation of something like interact
>>>that does no pipelining for the argument "id"? Simply doing "putStr !$ f
>>>!$ s" was not enough!
>>Yes, of course.
>>Your code above only forces the evaluation of the first cons-cell of
>>the list, which is not enough. You want to force the entire list.
Right, thanks to everybody who provided solutions!
More information about the Haskell