projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
37f0cc134ab0b36de3edc3017fa23e6be4142bc4
[ghc-hetmet.git]
/
ghc
/
misc
/
examples
/
io
/
io015
/
Main.hs
1
import IO -- 1.3
2
3
main =
4
isEOF >>= \ eof ->
5
if eof then
6
return ()
7
else
8
getChar >>= \ c ->
9
putChar c >>
10
main