
3 Aug
2010
3 Aug
'10
1:48 a.m.
At 8:29 PM -0400 8/2/10, Brandon S Allbery KF8NH wrote:
On 8/2/10 19:59 , aditya siram wrote:
Agreed. In fact I have the most trouble imagining what Haskell code looked like before monads.
IIRC the type of main was something like [Request] -> [Response].
Actually, the Haskell 1.2 report (published in SIGPLAN Notices, May 1992) has: main :: [Response] -> [Request] (Yes, it was awkward to program I/O that way!) That version of Haskell also had a continuation-based I/O framework. Dean