[
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: | Alan Schmitt <alan.schmitt@i...> |
| Subject: | Re: [Caml-list] newbie question |
* 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