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 ocaml.org.

Browse thread
Order of evaluation when constructing record values
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Till Varoquaux <till.varoquaux@g...>
Subject: Re: [Caml-list] Re: Order of evaluation when constructing record values
Even though you found the order record were assigned, I would advice
to explicitly force this order (i.e. let bindings). AFAIK the order of
evaluation for records is not specified by the specification, therefor
it could change between revisions of the compiler.

Till

-- 
http://till-varoquaux.blogspot.com/