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: | Falk Hueffner <hueffner@I...> |
| Subject: | Re: [Caml-list] Stupid question about the toplevel |
Brian Hurt <bhurt@spnz.org> writes: > 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"? No, it's the identifier the value was bound to: # let x = 17;; val x : int = 17 -- Falk ------------------- 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