caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dario Teixeira <darioteixeira@yahoo.com>
To: caml <caml-list@inria.fr>
Subject: [Caml-list] Newest Sexplib and Hashtbl
Date: Sun, 18 Sep 2011 11:41:21 -0700 (PDT)	[thread overview]
Message-ID: <1316371281.68127.YahooMailNeo@web111512.mail.gq1.yahoo.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

Hi,

I've updated to the latest version of Sexplib, and the support for hashtable serialisation
seems broken or at least changed.  I was accustomed to using the syntax extension
for convenient declaration of (de)serialisers, and this worked too for the Hashtbl module.
For example:


type dict_t = (key_t, value_t) Hashtbl.t with sexp

But with Sexplib 7.0.4 this produces an error:


Error: Unbound value Hashtbl.t_of_sexp

Is this a bug, or must the (de)serialisers be declared manually with the newer versions
of Sexplib?

Thanks in advance for your time!
Best regards,
Dario Teixeira

[-- Attachment #2: Type: text/html, Size: 967 bytes --]

             reply	other threads:[~2011-09-18 18:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-18 18:41 Dario Teixeira [this message]
2011-09-18 18:53 ` Markus Mottl

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=1316371281.68127.YahooMailNeo@web111512.mail.gq1.yahoo.com \
    --to=darioteixeira@yahoo.com \
    --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).