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 IAA14200; Fri, 24 Oct 2003 08:11:43 +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 IAA17612 for ; Fri, 24 Oct 2003 08:11:42 +0200 (MET DST) Received: from bob.west.spy.net (mail.west.spy.net [66.149.231.226]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h9O6BZ102719 for ; Fri, 24 Oct 2003 08:11:35 +0200 (MET DST) Received: from spy.net (dustinti.west.spy.net [192.168.1.50]) by bob.west.spy.net (Postfix) with ESMTP id 9FBFB58CF for ; Thu, 23 Oct 2003 23:11:30 -0700 (PDT) Date: Thu, 23 Oct 2003 23:11:29 -0700 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: [Caml-list] newbie type problem From: Dustin Sallings To: caml-list@inria.fr Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.552) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; newbie:01 python:01 hashtable:01 hashtable:01 cae:99 caml:01 int:01 eiffel:01 her:97 anybody:03 scheme:03 fingerprint:04 rewrite:04 define:05 i'd:06 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I'm fairly new to caml, but have run into something I can't seem to figure out. I'm trying to rewrite an application I'd originally written in python (and scheme, and eiffel, and C, etc...), but I can't seem to figure out how to define the type I want. Basically, it might look something like this: type per_block = { pb_ts: int; pb_counts: [hashtable goes here]; pb_times: [hashtable goes here]; };; Can anybody tell me what I'm actually trying to do here? -- SPY My girlfriend asked me which one I like better. pub 1024/3CAE01D5 1994/11/03 Dustin Sallings | Key fingerprint = 87 02 57 08 02 D0 DA D6 C8 0F 3E 65 51 98 D8 BE L_______________________ I hope the answer won't upset her. ____________ ------------------- 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