From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p8IIfT8x017711 for ; Sun, 18 Sep 2011 20:41:29 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQBAAU6dk5iilu2g2dsb2JhbAA1DYJNlX2PBAEBAQoJDQUWJYFGAQMEAQEVIBUBAhUiARQIAXEBDgEGGIVaAYInAQmVaI4jCoJSg1yJKAEEBQGGcgSHb4tfhRgpRIdug1U X-IronPort-AV: E=Sophos;i="4.68,401,1312149600"; d="scan'208,217";a="120301969" Received: from nm22-vm4.bullet.mail.ne1.yahoo.com ([98.138.91.182]) by mail1-smtp-roc.national.inria.fr with SMTP; 18 Sep 2011 20:41:23 +0200 Received: from [98.138.90.56] by nm22.bullet.mail.ne1.yahoo.com with NNFMP; 18 Sep 2011 18:41:22 -0000 Received: from [98.138.86.156] by tm9.bullet.mail.ne1.yahoo.com with NNFMP; 18 Sep 2011 18:41:22 -0000 Received: from [127.0.0.1] by omp1014.mail.ne1.yahoo.com with NNFMP; 18 Sep 2011 18:41:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 439367.71307.bm@omp1014.mail.ne1.yahoo.com Received: (qmail 80246 invoked by uid 60001); 18 Sep 2011 18:41:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1316371281; bh=JjL8CjppaowV/UElbE41TvuPt/oHXkIB2dLYxI0Zzl8=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=2U4vnGpM4Wl1Ya0FyeCef1Ju7Bc3iYpjYLWMZiw5ak0km8m6auZ2FSKIznCYbiu/9Lx8rAfl7M1zffHvpeJwQGJycYF+btVQDAb8Gb8DksnwZZkW/O3BLr/zbffuX2FXVjMnKGINBEljSaSBGzCTJ34VepJZ8mQPHNwKVHmRElE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=CXwAVzrEIELdxvuVxKXd7mIpsQ6xoMa3ptSGxTokhBz6pt75KufNDs1KH+33gWmZzPT8mfgl293lEtRzd6eG4invkWlLGNMT7fDaddzfNoh5NxCyjETfjmL/0lcFyMw0w98hciiA/8MmFgVRxh9SvG3d0bbkPOUhONK/ZrGwEbc=; X-YMail-OSG: SxbSMt4VM1mZQPBt8KcDm558af12aQzfXkNQXyDJrsRrswX 1G27mJTQQGhfq9CHmKFez..DCf8WiAB5UfgIZebbsMRiupku70gHCInoj_.d 6mKRvJnWyDiuU5MGHd4eh8HrkPIdR5XRwlU.ABI8EvDYU9SH5LVRPomc8bew r5r8FoUcekI982X1eFW9X1jcCausK4IEpHKJRsSBEfJVnfVnLV.CLQG6l5Hf D_2nzX0z3dn1b.x_Qh768O50YMHcddFyN5cMo2JrTY5ob8QoixM2is5jzBCq 2Q5XV4BZQeagWy7h3rViU_YsaoJ1XhOprZUeLrf8UZpN0eI_U7yYL9L2w3wW HCFNzQQEful4D8FKKqe9Wf.6Cn_uM0lwEc1.pGTwLfjxEuyCOsHc0.diEx6B d0Hlg3hVrcZw1zgGqg9zn7DouaBnA_IPNHTYVI6Xi0QQii8cD5Xtfu71F32u H2pCCvwkzKQ-- Received: from [213.205.70.210] by web111512.mail.gq1.yahoo.com via HTTP; Sun, 18 Sep 2011 11:41:21 PDT X-Mailer: YahooMailWebService/0.8.114.317681 Message-ID: <1316371281.68127.YahooMailNeo@web111512.mail.gq1.yahoo.com> Date: Sun, 18 Sep 2011 11:41:21 -0700 (PDT) From: Dario Teixeira Reply-To: Dario Teixeira To: caml MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-672993426-82257625-1316371281=:68127" Subject: [Caml-list] Newest Sexplib and Hashtbl ---672993426-82257625-1316371281=:68127 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I've updated to the latest version of Sexplib, and the support for hashtabl= e serialisation seems broken or at least changed.=A0 I was accustomed to using the syntax e= xtension for convenient declaration of (de)serialisers, and this worked too for the = Hashtbl module. For example: type dict_t =3D (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 ne= wer versions of Sexplib? Thanks in advance for your time! Best regards, Dario Teixeira ---672993426-82257625-1316371281=:68127 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

=
I've updated to the latest version of Sexplib, and the support for has= htable serialisation
seems broken or at least changed.  I wa= s accustomed to using the syntax extension
for convenient declara= tion of (de)serialisers, and this worked too for the Hashtbl module.
<= div>For example:

type dict_t =3D (key_t, value= _t) Hashtbl.t with sexp

But with Sexplib 7.0.4 thi= s produces an error:

Error: Unbound value Hash= tbl.t_of_sexp

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

Thanks in advance for your time!
Best reg= ards,
Dario Teixeira

= ---672993426-82257625-1316371281=:68127--