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] Camlp4 and hashtable
Date: Thu, 22 May 2003 21:50:07 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0305222144020.1403-100000@zodiac.mimuw.edu.pl> (raw)
In-Reply-To: <16077.1526.521835.393248@hector.lesours>

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


      parent reply	other threads:[~2003-05-22 19:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-22  2:51 [Caml-list] my first questions about camlp4 Dont Bother
2003-05-22 16:00 ` Ed L Cashin
2003-05-22 17:16   ` Basile STARYNKEVITCH
2003-05-22 19:48     ` Oleg Trott
2003-05-22 19:50     ` Lukasz Lew [this message]

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.0305222144020.1403-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).