[project @ 2001-08-08 14:21:07 by simonmar]
[ghc-hetmet.git] / ghc / tests / ghci / ghci003.stdout
1    ___         ___ _
2   / _ \ /\  /\/ __(_)
3  / /_\// /_/ / /  | |      GHC Interactive, version 5.01, for Haskell 98.
4 / /_\\/ __  / /___| |      http://www.haskell.org/ghc/
5 \____/\/ /_/\____/|_|      Type :? for help.
6
7 Loading package std ... linking ... done.
8 *** WARNING: . is writable by someone else, IGNORING!
9 *** WARNING: ./.ghci is writable by someone else, IGNORING!
10 Prelude> -- check that 'it' works
11 Prelude> 1
12 1
13 Prelude> it
14 1
15 Prelude> print it
16 1
17 Prelude> return 42
18 Prelude> it
19 42
20 Prelude> print it
21 42
22 Prelude> Leaving GHCi.