caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Lukasz Lew <ll189417@zodiac.mimuw.edu.pl>
To: caml-list@inria.fr
Subject: [Caml-list] Hashtable, possible?
Date: Sat, 24 May 2003 21:52:26 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0305242151160.22495-100000@zodiac.mimuw.edu.pl> (raw)

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


             reply	other threads:[~2003-05-24 19:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-24 19:52 Lukasz Lew [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0305242151160.22495-100000@zodiac.mimuw.edu.pl \
    --to=ll189417@zodiac.mimuw.edu.pl \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).