Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Hashtable, possible?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Remi Vanicat <vanicat@l...>
Subject: Re: [Caml-list] Hashtable, possible?
Lukasz Lew <ll189417@zodiac.mimuw.edu.pl> 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 = <abstr>
>
> # 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