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] Why do input* and readdir throw End_of_file ... annoying!
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] Why do input* and readdir throw End_of_file ... annoying!
On Fri, Jun 06, 2003 at 01:49:55PM -0500, Brian Hurt wrote:
> The problem with try/with is that it's way to easy to break tail recursion 
> using try/with.  About every other week someone comes to the Ocaml 
> beginners list where they are doing something like:

What's a good way to read all the lines of a file into a list? I
can put it into the OCaml tutorial I'm writing.


Richard Jones, Red Hat Inc. (London) and Merjis Ltd. Freshmeat projects:
NET::FTPSERVER is a full-featured, secure, configurable, database-backed
FTP server written in Perl:

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