Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Sexplib question
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-03-21 (19:31)
From: a non <anon2008123@g...>
Subject: Sexplib question

I have been following the threads about sexplib/deriving with interest and
have a question
about using sexplib with existing libraries.

Example: If I want to use sexplib with values of type Netdate.t (a date type
from the ocamlnet
library) and try the following:

   type v = { name : string; created_at : Netdate.t} with sexp

then I get the following error when compiling:

     Unbound value Netdate.t_of_sexp

My question is, what is the easiest way to generate the sexp functions for
without modifying the code of the Netdate library ?

Best regards