projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 1997-07-27 00:59:57 by sof]
[ghc-hetmet.git]
/
ghc
/
tests
/
io
/
should_run
/
io002.hs
1
import System (getEnv)
2
3
main =
4
getEnv "TERM" >>= \ term ->
5
putStr term >>
6
putChar '\n' >>
7
getEnv "One fish, two fish, red fish, blue fish" >>= \ fish ->
8
putStr fish >>
9
putChar '\n'
10
11
12
13