projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
87114202396c9cf7b68e449346454fbc7a6077d5
[ghc-hetmet.git]
/
ghc
/
tests
/
etc
/
Echo.hs
1
import MiniPrel
2
3
main = (ccall getchar) `thenU` ( \ ch ->
4
case ch of
5
-1# -> (ccall exit 0#)
6
_ -> (ccall putchar ch) `thenU` ( \ _ ->
7
main )
8
)