From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA29605 for caml-red; Fri, 20 Oct 2000 12:41:52 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id EAA30063 for ; Fri, 20 Oct 2000 04:16:55 +0200 (MET DST) Received: from smtp2-cm.mail.eni.net (smtp2a-cm.mail.eni.net [216.133.226.135]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id e9K2GrD21544; Fri, 20 Oct 2000 04:16:54 +0200 (MET DST) Received: from checkerlap.d6.com ([216.233.204.162]) by smtp2-cm.mail.eni.net (8.9.3/8.9.3) with ESMTP id TAA22149; Thu, 19 Oct 2000 19:16:51 -0700 Message-Id: <4.3.2.7.2.20001019190226.02ee4ee0@walt> X-Sender: def6@walt X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Thu, 19 Oct 2000 19:18:49 -0700 To: Xavier Leroy From: Chris Hecker Subject: Re: single-precision floats, etc. Cc: caml-list@inria.fr In-Reply-To: <20001019133707.42818@pauillac.inria.fr> References: <4.3.2.7.2.20001018081700.033cdef0@walt> <4.3.2.7.2.20001018081700.033cdef0@walt> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: weis@pauillac.inria.fr >OcamlDoom etc. Yeah, I downloaded these a while back, but haven't taken a look yet. I was happy to find them. I will mostly be using the OpenGL bindings in my experiments. > Indeed, the code >is almost the same as if you'd used the standard array type; you just >write b.{x} and b.{x,y} instead of a.(x) and a.(x).(y). Oh, I didn't know about the alternate syntax! Is that hacked directly into the compiler? It's not possible to define that sort of thing in the language, is it (it's not in bigarray.mli)? I also didn't know the functions were inlined from the library...that's key. I thought bigarray was just a normal library, not a special case. Just curious, are any of the other libraries similarly special cased? In other words, if I wanted to write the library myself without touching the compiler, which libraries in the standard set would I not be able to write? Chris