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 CAA28151; Sun, 25 May 2003 02:33:53 +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 CAA28132 for ; Sun, 25 May 2003 02:33:51 +0200 (MET DST) Received: from mwinf0101.wanadoo.fr (smtp8.wanadoo.fr [193.252.22.30]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h4P0XpH27226 for ; Sun, 25 May 2003 02:33:51 +0200 (MET DST) Received: from debian (unknown [80.8.75.246]) by mwinf0101.wanadoo.fr (SMTP Server) with ESMTP id 2D6D9C0000CE for ; Sun, 25 May 2003 02:33:51 +0200 (CEST) Received: from moi by debian with local (Exim 3.36 #1 (Debian)) id 19JjSa-0003nR-00 for ; Sun, 25 May 2003 02:34:00 +0200 To: caml-list@inria.fr Subject: Re: [Caml-list] Hashtable, possible? Mail-Copy-To: never From: Remi Vanicat Date: Sun, 25 May 2003 02:34:00 +0200 In-Reply-To: (Lukasz Lew's message of "Sat, 24 May 2003 21:52:26 +0200 (CEST)") Message-ID: <873cj3rhjb.dlv@wanadoo.fr> User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3 References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Spam: no; 0.00; caml-list:01 hashtable:01 lukasz:01 lew:01 189417:01 zodiac:01 camlp:01 hashtables:01 val:01 hashtbl:01 abstr:01 foo:01 arrays:01 dept-info:01 labri:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Lukasz Lew writes: > 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 = () > > I need only "yes" or "no" :) yes it is -- Rémi Vanicat vanicat@labri.u-bordeaux.fr http://dept-info.labri.u-bordeaux.fr/~vanicat ------------------- 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