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
[Caml-list] How to read three integers from a text-file... ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-04-25 (05:35)
From: Chris Hecker <checker@d...>
Subject: pervasives (was: Re: [Caml-list] How to read three integers from a text-file... ?)

I was about to answer, "why not just use read_int in a loop from the 
in_channel?", but then I looked and it's only defined on stdin (as is 
read_float).  read_line has input_line, but the others aren't 
symmetric.  Can we fix this and add input_int and input_float to 
Pervasives?  Relatively minor, but annoying to emulate.


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: