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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-24 (19:14)
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)