caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: [Caml-list] Boxed types and records
  2006-03-27  5:14 [Caml-list] Boxed types and records Jonathan Roewen
@ 2006-03-26  6:43 ` Jon Harrop
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Harrop @ 2006-03-26  6:43 UTC (permalink / raw)
  To: caml-list

On Monday 27 March 2006 06:14, Jonathan Roewen wrote:
> Are all boxed types (int32/int64/nativeint/float) automatically
> unboxed in any given record type?
>
> Since it seems records have same representation as tuples, would this
> apply to tuples too?

Only all-float records are unboxed. Not tuples or any of the other types that 
you've listed.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Caml-list] Boxed types and records
@ 2006-03-27  5:14 Jonathan Roewen
  2006-03-26  6:43 ` Jon Harrop
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Roewen @ 2006-03-27  5:14 UTC (permalink / raw)
  To: OCaml

Hi,

Are all boxed types (int32/int64/nativeint/float) automatically
unboxed in any given record type?

Since it seems records have same representation as tuples, would this
apply to tuples too?

Kindest Regards,

Jonathan


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-27  6:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-27  5:14 [Caml-list] Boxed types and records Jonathan Roewen
2006-03-26  6:43 ` Jon Harrop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).