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] 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 Archives:
Bug reports: FAQ:
Beginner's list: