caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* RE: [Caml-list] newbie question
@ 2001-12-13  3:44 Emmanuel Mabaleka
  2001-12-13  6:23 ` Alan Schmitt
  0 siblings, 1 reply; 2+ messages in thread
From: Emmanuel Mabaleka @ 2001-12-13  3:44 UTC (permalink / raw)
  To: caml-list

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

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] newbie question
  2001-12-13  3:44 [Caml-list] newbie question Emmanuel Mabaleka
@ 2001-12-13  6:23 ` Alan Schmitt
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Schmitt @ 2001-12-13  6:23 UTC (permalink / raw)
  To: Emmanuel Mabaleka; +Cc: caml-list

* 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-13  6:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-13  3:44 [Caml-list] newbie question Emmanuel Mabaleka
2001-12-13  6:23 ` Alan Schmitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).