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

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
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