caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* float array/record unboxing
@ 2009-05-11 17:49 Yitzhak Mandelbaum
  2009-05-11 18:49 ` [Caml-list] " Markus Mottl
  0 siblings, 1 reply; 3+ messages in thread
From: Yitzhak Mandelbaum @ 2009-05-11 17:49 UTC (permalink / raw)
  To: Caml-list List

hi,

Does anyone know whether float arrays/records are unboxed if float is  
used to instantiate a  type parameter? E.g.

module F (R:sig type t end) = struct
   type foo = { a1 : R.t; b1 : R.t; }
end

module M = F(struct type t = float end)

Is M.foo an unboxed array of floats (as per Chapter 18.3.2 in the  
manual) or not? Empirical evidence suggests that the floats *are*  
boxed. If this is the case, can anyone point me to where this feature  
is documented?

Thanks,
Yitzhak
-----------------------------
Yitzhak Mandelbaum




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

end of thread, other threads:[~2009-05-11 20:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-11 17:49 float array/record unboxing Yitzhak Mandelbaum
2009-05-11 18:49 ` [Caml-list] " Markus Mottl
2009-05-11 20:30   ` malc

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).