caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] generic data structure questions
@ 2003-04-03 13:25 Ryan Bastic
  0 siblings, 0 replies; only message in thread
From: Ryan Bastic @ 2003-04-03 13:25 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-03 13:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-03 13:25 [Caml-list] generic data structure questions Ryan Bastic

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