Prelude> :l Stdm
[1 of 1] Compiling Stdm ( Stdm.lhs, interpreted )
Ok, modules loaded: Stdm.
*Stdm> True /\ False
False
*Stdm> :l "6.4/3"
[1 of 1] Compiling Main ( 6.4/3.hs, interpreted )
Ok, modules loaded: Main.
*Main> True /\ False
<interactive>:1:5: Not in scope: `/\'
Prelude> :load Stdm
[1 of 1] Compiling Stdm ( Stdm.lhs, interpreted )
Ok, modules loaded: Stdm.
*Stdm> True /\ False
False
*Stdm> :add "6.4/3"
[1 of 2] Compiling Main ( 6.4/3.hs, interpreted )
Ok, modules loaded: Stdm, Main.
*Main> True /\ False
<interactive>:1:5: Not in scope: `/\'
Prelude> :m +Stdm
module `Stdm' is not loaded
Prelude> :m + Stdm
module `Stdm' is not loaded
Prelude> :m + "Stdm"
syntax: :module [+/-]M1 ... Mn
Prelude>
Leaving GHCi.
The program is a "literate script". Each line that begins with "> "
is Haskell source code that can be executed; all other lines are
documentation which will be ignored by the compiler.
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |