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
Parameter evaluation order
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-08-24 (16:08)
From: brogoff <brogoff@s...>
Subject: Re: [Caml-list] Re: Parameter evaluation order
On Wed, 24 Aug 2005, Christophe Raffalli wrote:
> If you really want left-to-right evaluation order in ocaml, use camlp4
> to change the syntax with a postfix function application (with the
> argument to the left).
>
> That will be homogenous with type application !
>
> :-)

Alas, it doesn't help with the evaluation of order of constructors,
which is where I'd find left-to-right most helpful. One of those places
where I think SML is better, even though I usually favor efficiency
over elegance.

-- Brian