Re: variables in 'let rec'

From: Damien Doligez (Damien.Doligez@inria.fr)
Date: Sat Mar 25 2000 - 15:55:04 MET

  • Next message: John Max Skaller: "Re: Unsigned integers?"

    >From: Max Skaller <maxs@in.ot.com.au>
    >
    >Alternatively, you can just use
    >
    > let rec x' () = ...
    > and ...
    > let x = x()
    >
    >in lieu of what you really wanted: (that is,
    >there is a workaround).

    But that doesn't work for "let rec x = 1 :: x", which is the most
    interesting feature of O'Caml's recursive value definitions.

    -- Damien



    This archive was generated by hypermail 2b29 : Mon Mar 27 2000 - 19:23:12 MET DST