Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] my first questions about camlp4
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Lukasz Lew <ll189417@z...>
Subject: [Caml-list] Camlp4 and hashtable
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 = ()

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