Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Map module
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: jeanfrancois.monin@r...
Subject: Re: [Caml-list] Map module
This is a Very FAQ (a bold warning should be inserted in the on-line
manuel, if not already done).

> let rec output_table input_ch =
>    try
>      let ...
>             output_table input_ch
>    with ...

is NOT tail-recursive. Put the try... with... construct 
outside the definition of the recursive functions.

  Jean-Francois Monin


-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners