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
beginners list
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: micha <micha-1@f...>
Subject: Re: [Caml-list] beginners list
christian konrad wrote:
> Hello again,
> Why that?? I really do not understand that. Do I use "filehandle" 
> somewhere as a unit type? Where, why?
read_line reads from stdin and expects type unit as parameter (you want 
to use input_line)