From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA24115; Fri, 2 Apr 2004 22:53:59 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA23396 for ; Fri, 2 Apr 2004 22:53:58 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i32Ksijq001868 for ; Fri, 2 Apr 2004 22:54:44 +0200 Received: from warp (chateaudeau-4-82-225-176-25.fbx.proxad.net [82.225.176.25]) by postfix3-2.free.fr (Postfix) with SMTP id C5FE6C143; Fri, 2 Apr 2004 22:53:50 +0200 (CEST) Message-ID: <004d01c418f4$35da6ad0$19b0e152@warp> From: "Nicolas Cannasse" To: "Brian Hurt" , "Ocaml Mailing List" References: Subject: Re: [Caml-list] Stupid question about the toplevel Date: Fri, 2 Apr 2004 22:50:56 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Miltered: at nez-perce by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; cannasse:01 warplayer:01 caml-list:01 stupid:01 3.07:01 stdin:01 bugging:01 val:01 cannasse:01 ocaml:01 caml:01 nicolas:01 nicolas:01 int:01 int:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 42 > 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