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 XAA25416; Fri, 2 Apr 2004 23:09:52 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id XAA26673 for ; Fri, 2 Apr 2004 23:09:51 +0200 (MET DST) Received: from mz2.forethought.net (mzpi4.forethought.net [216.241.36.13]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i32L9nYM001921 for ; Fri, 2 Apr 2004 23:09:50 +0200 Received: from [216.241.35.41] (helo=swordfish) by mz2.forethought.net with esmtp (Exim 4.30) id 1B9VvA-0000P4-RM for caml-list@pauillac.inria.fr; Fri, 02 Apr 2004 14:09:48 -0700 Received: from matt by swordfish with local (Exim 3.35 #1 (Debian)) id 1B9VvD-0003ox-00 for ; Fri, 02 Apr 2004 14:09:51 -0700 Date: Fri, 2 Apr 2004 14:09:51 -0700 From: Matt Gushee To: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] Stupid question about the toplevel Message-ID: <20040402210951.GC7488@swordfish> Reply-To: Matt Gushee Mail-Followup-To: caml-list@pauillac.inria.fr References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; gushee:01 mgushee:01 havenrock:01 caml-list:01 stupid:01 2004:99 0600,:01 3.07:01 stdin:01 foo:01 val:01 foo:01 val:01 gushee:01 englewood:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 45 On Fri, Apr 02, 2004 at 03:47:17PM -0600, Brian Hurt wrote: > > 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. I'm going to answer your question with a question (don't you hate it when people do that?): # let foo = 3+4;; val foo : int = 7 # So what does the "val foo" at the beginning of the line mean? -- Matt Gushee When a nation follows the Way, Englewood, Colorado, USA Horses bear manure through mgushee@havenrock.com its fields; http://www.havenrock.com/ When a nation ignores the Way, Horses bear soldiers through its streets. --Lao Tzu (Peter Merel, trans.) ------------------- 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