Version française
Home     About     Download     Resources     Contact us    
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: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: lazyness in ocaml (was : [Caml-list] kprintf with user formatters)
Le 28 juil. 04, à 10:06, skaller a écrit :
> do you have a counter example?

let f c =
   let a = input_byte c in
   let b = input_byte c in
   (a,b)

let f' c = (input_byte c, input_byte c)


f and f' do not produce the same pair on my platform.

Daniel

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners