Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Stupid question about the toplevel
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-04-02 (20:41)
From: Brian Hurt <bhurt@s...>
Subject: [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.

"Usenet is like a herd of performing elephants with diarrhea -- massive,
difficult to redirect, awe-inspiring, entertaining, and a source of
mind-boggling amounts of excrement when you least expect it."
                                - Gene Spafford 

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: