3 ms·
How did Haskell do IO effects before monadic computation? I ask because any such influence predates my exposure to the ecosystem.
by KirinDave 9y ago
How did Haskell do IO effects before monadic computation? I ask because any such influence predates my exposure to the ecosystem.
- dietrichepp 9y agohttp://stackoverflow.com/questions/17002119/haskell-pre-monadic-i-o http://stackoverflow.com/questions/17002119/haskell-pre-mona... main :: [Response] -> [Request]
- quchen 9y agoEven without knowing about monads, you can simply implement »bindIO« and »pureIO«. That’s what most other languages do – they have bindMaybe, bindList, bindAsync, …