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
Crash reading a file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-02-04 (16:26)
From: Ashish Agarwal <agarwal1975@g...>
Subject: Re: [Caml-list] Crash reading a file
> but then I must append at the end of a list, that is something time
consuming. I do not known about more options.

Append to the beginning of the list during the recursion, producing the list
in reverse. Then do a List.rev at the end.