English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Immediate recursive functions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-02-17 (20:33)
From: Alex Baretta <alex@b...>
Subject: Re: [Caml-list] Immediate recursive functions
Jason Hickey wrote:
> Alex Baretta wrote:
>> I sometimes feel the need for a mu operator. I'm thinking of something 
>> like the following:  ..
> I can't give any arguments why your specific syntax is not allowed.  In 
> principle it isn't necessary, since a general fixpoint can be defined.

Why, of course it isn't needed! Neither is let rec needed for that 
matter once you have the fun construct. Y-combinators are all around you ...

Of course, a large number of language features are just syntactic sugar 
which boils down to lambda abstractions and beta reductions. Explicit 
recursion is one of these. What I'm asking for is why the language does 
not provide the sugar for the mu recursive expressions.


Baretta DE&IT
A division of Baretta SRL

tel. +39 02 370 111 55
fax. +39 02 370 111 54

Our technology:

The Application System/Xcaml (AS/Xcaml)

The FreerP Project