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 PAA01381; Thu, 3 Apr 2003 15:25:34 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA02231 for ; Thu, 3 Apr 2003 15:25:32 +0200 (MET DST) Received: from gis.net (mx03.gis.net [208.218.130.11]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h33DPW526858 for ; Thu, 3 Apr 2003 15:25:32 +0200 (MET DST) Received: from gis.net ([208.218.130.24]) by mx03.gis.net; Thu, 03 Apr 2003 08:25:31 -0500 From: "Ryan Bastic" Reply-to: rbastic@gis.net To: caml-list@inria.fr Subject: [Caml-list] generic data structure questions X-Mailer: Galaxy AstroMail used by rbastic X-Originating-IP: 158.123.229.2 Date: Thu, 03 Apr 2003 08:25:30 -0500 Message-id: <3e8c364a.35e5.24499@gis.net> X-Rcpt-To: X-Spam: no; 0.00; gis:99 generic:01 hash:01 dynamically:01 arrays:01 ocaml:01 groups:01 data:03 let:04 app:04 array:04 structure:06 strings:06 loop:06 i'm:07 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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