projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2001-08-23 10:36:50 by sewardj]
[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
)