From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA32138; Mon, 28 Apr 2003 21:07:25 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 VAA32494 for ; Mon, 28 Apr 2003 21:07:24 +0200 (MET DST) Received: from mx03.uni-tuebingen.de (mx03.uni-tuebingen.de [134.2.3.13]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h3SJ7OT00250 for ; Mon, 28 Apr 2003 21:07:24 +0200 (MET DST) Received: from juist (semeai.Informatik.Uni-Tuebingen.De [134.2.15.66]) by mx03.uni-tuebingen.de (8.12.3/8.12.3) with ESMTP id h3SJ7LFH027844 for ; Mon, 28 Apr 2003 21:07:22 +0200 Received: from falk by juist with local (Exim 3.36 #1 (Debian)) id 19ADyC-0000EM-00 for ; Mon, 28 Apr 2003 21:07:20 +0200 X-Face: "iUeUu$b*W_"w?tV83Y3*r:`rh&dRv}$YnZ3,LVeCZSYVuf[Gpo*5%_=/\_!gc_,SS}[~xZ wY77I-M)xHIx:2f56g%/`SOw"Dx%4Xq0&f\Tj~>|QR|vGlU}TBYhiG(K:2 Subject: Re: [Caml-list] Looking for a real array References: <200304282151.52240.exa@kablonet.com.tr> From: Falk Hueffner Date: 28 Apr 2003 21:07:20 +0200 In-Reply-To: <200304282151.52240.exa@kablonet.com.tr> Message-ID: <87of2qigpj.fsf@student.uni-tuebingen.de> User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.5 (cabbage) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-AntiVirus: checked by AntiVir Milter 1.0.0.8; AVE 6.19.0.3; VDF 6.19.0.9 X-Spam: no; 0.00; falk:01 hueffner:01 caml-list:01 eray:01 ozkural:01 implemented:01 demoted:01 foo:01 ints:01 ocaml:01 int:01 writes:01 let:04 array:04 okay:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Eray Ozkural writes: > Okay, I might be a little confused, forgive me. I thought, implementation > wise, when I say > let a = [| 6, 3, 5, 7, 8 |] > it's implemented by ocaml as > int** a; > in C speak. > > Right or wrong? (Fearing that I might be demoted to beginner status > now :P ) Wrong. foo array corresponds to foo*, and ints are not boxed, so int array is like int*. -- Falk ------------------- 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