Version française
Home     About     Download     Resources     Contact us    
Browse thread
WAS Re: [Caml-list] Re: The need to specify 'rec' in a recursive function defintion
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Grant Rettke <grettke@a...>
Subject: WAS Re: [Caml-list] Re: The need to specify 'rec' in a recursive function defintion
On Tue, Feb 16, 2010 at 10:21 AM, Ashish Agarwal <agarwal1975@gmail.com> wrote:
> let rec

Do OCaml'er look at let rec more as being a message to the programmer,
rather than the compiler, that the way I want to define this function
is recursively so even if 'f' was previously bound you know which one
I mean?

Considering the language allows mutation, I feel like it is more for
humans than the compiler, but of course, the compiler must be told,
too.