Skip to content

lazy IO

I guess you allready know it, but here it is anyway:

main :: IO()
main = do indata <- putStr "input>">>getLine 
               putStr indata


Fail to behave lazily. 

SunOS 5.6
The Glorious Glasgow Haskell Compilation System,
version 5.02.1
Trac metadata
Trac field Value
Version 5.02
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedNoReason
Component None
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information