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 HAA23270; Thu, 13 Dec 2001 07:25:01 +0100 (MET) 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 HAA23309 for ; Thu, 13 Dec 2001 07:25:00 +0100 (MET) Received: from crateria.nerim.net (crateria.nerim.net [62.4.16.75]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id fBD6P0v09940 for ; Thu, 13 Dec 2001 07:25:00 +0100 (MET) Received: from alan-schm1p.inria.fr (aboukir-101-1-10-alanschmitt.adsl.nerim.net [62.212.98.49]) by crateria.nerim.net (Postfix) with ESMTP id BC21324B78; Thu, 13 Dec 2001 07:24:59 +0100 (CET) Received: by alan-schm1p.inria.fr (Postfix, from userid 11207) id D598523637; Thu, 13 Dec 2001 07:23:01 +0100 (CET) Date: Thu, 13 Dec 2001 07:23:01 +0100 From: Alan Schmitt To: Emmanuel Mabaleka Cc: caml-list Subject: Re: [Caml-list] newbie question Message-ID: <20011213072301.U1548@alan-schm1p> Mail-Followup-To: Emmanuel Mabaleka , caml-list References: <3C250186@129.173.2.173> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: =?iso-8859-1?Q?=3C3C250186=40129=2E173=2E2=2E173=3E=3B_from_mabaleka=40b?= =?iso-8859-1?Q?uzz=2Ecs=2Edal=2Eca_on_mer=2C_d=E9c_12=2C_2001_at_11:44:2?= =?iso-8859-1?Q?2_-0400?= X-Editor: Vim http://vim.sf.net/ X-Info: http://pauillac.inria.fr/~aschmitt/ X-Operating-System: Linux/2.4.16 (i686) X-Uptime: 7:20am up 1 day, 11:41, 1 user, load average: 0.22, 0.25, 0.15 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk * Emmanuel Mabaleka (mabaleka@buzz.cs.dal.ca) wrote: > Hie, > > I have OCaml ver 3.02 for Windows and I have been playing with examples from > Chapter 9 (Basic Input/Output) of the tutorial "Functional programming using > Caml Light", 1995 from http://caml.inria.fr/distrib-caml-light-eng.htm. > > In the interactive mode, when I type > # std_in;; > > I get the error "unbound value std_in". I thought this channel along with > std_out and std_err are supposed to be predefined. Consequently the standalone > example count.ml in Chapter 11 (StandAlone Programs) also gives the error > "unbound value std_in" when I type the command > > "ocamlc -o count.exe count.ml". What am I missing? Thanks... > > Emmanuel Hi, In OCaml, these are called "stdin", "stdout", and "stderr". Best regards, Alan Schmitt -- The hacker: someone who figured things out and made something cool happen. ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr