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
[Caml-list] kprintf with user formatters
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: lazyness in ocaml (was : [Caml-list] kprintf with user formatters)
On Wed, 2004-07-28 at 17:26, Pierre Weis wrote:

> There is nothing such as your ``substitution principle'' in Caml,
> except if we restrict the language to truly trivial expressions (as
> soon as expressions may incoporate basic operators such as the integer
> addition your ``principle'' does not stand anymore).

I thought:

let x = expr in f x


f expr

are identical in all circumstances in Ocaml
for all terms 'expr', I must have missed
something .. do you have a counter example?

John Skaller,
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: