blob: c9a1bcfa8264f18874d7e51359891beee04b2f77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import System (getEnv)
main =
getEnv "TERM" >>= \ term ->
putStr term >>
putChar '\n' >>
getEnv "One fish, two fish, red fish, blue fish" >>= \ fish ->
putStr fish >>
putChar '\n'
|