caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Hashtable, possible?
@ 2003-05-24 19:52 Lukasz Lew
  2003-05-25  0:34 ` Remi Vanicat
  0 siblings, 1 reply; 6+ messages in thread
From: Lukasz Lew @ 2003-05-24 19:52 UTC (permalink / raw)
  To: caml-list

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" :)

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

-------------------
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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-05-26  1:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-24 19:52 [Caml-list] Hashtable, possible? Lukasz Lew
2003-05-25  0:34 ` Remi Vanicat
2003-05-25  0:48   ` Remi Vanicat
2003-05-25 13:40     ` Lukasz Lew
2003-05-25 13:50       ` Eray Ozkural
2003-05-26  1:15       ` Jacques Garrigue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).