Browse thread
[Caml-list] Stupid question about the toplevel
-
Brian Hurt
- Falk Hueffner
- Pierre Weis
- Nicolas Cannasse
- Matt Gushee
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Nicolas Cannasse <warplayer@f...> |
| Subject: | Re: [Caml-list] Stupid question about the toplevel |
> An example toplevel experience: > $ ocaml > Objective Caml version 3.07 > > # 3+4;; > - : int = 7 > # > > So what's the "-" at the begining of the line mean? Originally I thought > it meant that the input came from stdin, but I've been unable to change it > to anything else. Is it just "this line comes from the toplevel and not > your code"? > > It's bugging me now. what about : # let x = 3;; val x : int = 3 that "-"'s meaning is that it's not bound to any identifier. Regards, Nicolas Cannasse ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners