Browse thread
[Caml-list] generic data structure questions
- Ryan Bastic
[
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: | Ryan Bastic <rbastic@g...> |
| Subject: | [Caml-list] generic data structure questions |
hello all,
quick question about working in OCaml.
I have a toy app I'm writing that sorts an array of strings into
groups.. ie:
let array = [| "person 1"; "person 2"; "person 3"; "person 4"; |]
this should be sorted into two arrays of arrays or possibly a hash of
arrays... however, i'm having problems creating them dynamically in a
for loop.
any suggestions? i can post example code.
-Ryan
-------------------
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