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 VAA19332; Thu, 22 May 2003 21:50:20 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA19337 for ; Thu, 22 May 2003 21:50:19 +0200 (MET DST) Received: from students.mimuw.edu.pl (zodiac.mimuw.edu.pl [193.0.96.128]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h4MJoIT13473 for ; Thu, 22 May 2003 21:50:18 +0200 (MET DST) Received: from localhost (localhost [127.0.0.1]) by students.mimuw.edu.pl (Postfix) with ESMTP id 824E2179F4 for ; Thu, 22 May 2003 21:50:13 +0200 (CEST) Received: from students.mimuw.edu.pl ([127.0.0.1]) by localhost (zodiac [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03149-10 for ; Thu, 22 May 2003 21:50:13 +0200 (CEST) Received: by students.mimuw.edu.pl (Postfix, from userid 2738) id 27DED179F7; Thu, 22 May 2003 21:50:07 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by students.mimuw.edu.pl (Postfix) with ESMTP id B04904501 for ; Thu, 22 May 2003 21:50:07 +0200 (CEST) Date: Thu, 22 May 2003 21:50:07 +0200 (CEST) From: Lukasz Lew X-X-Sender: ll189417@zodiac.mimuw.edu.pl To: caml-list@inria.fr Subject: [Caml-list] Camlp4 and hashtable In-Reply-To: <16077.1526.521835.393248@hector.lesours> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new X-Spam: no; 0.00; lukasz:01 lew:01 189417:01 zodiac:01 camlp:01 hashtable:01 hashtables:01 val:01 hashtbl:01 abstr:01 foo:01 arrays:01 mimuw:01 syntax:02 unit:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi. Is it possible to implement with camlp4 syntax for using hashtables like arrays? I think about something like this: # let a = [{ }];; val a : ('_a, '_b) Hashtbl.t = # a.{"foo"} <- 'f';; - : unit = () Regards, Lukasz Lew ------------------- 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