English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
RE: [Caml-list] newbie question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-12-13 (03:45)
From: Emmanuel Mabaleka <mabaleka@b...>
Subject: RE: [Caml-list] newbie question

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...


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