Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 (06:25)
From: Alan Schmitt <alan.schmitt@i...>
Subject: Re: [Caml-list] newbie question
* Emmanuel Mabaleka ( 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
> 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 in Chapter 11 (StandAlone Programs) also gives the error
> "unbound value std_in" when I type the command
> "ocamlc -o count.exe". What am I missing? Thanks...
> Emmanuel


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:  FAQ:
To unsubscribe, mail  Archives: