Browse thread
[Caml-list] Looking for a real array
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Falk Hueffner <falk.hueffner@s...> |
| Subject: | Re: [Caml-list] Looking for a real array |
Eray Ozkural <exa@kablonet.com.tr> 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