English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[ANN] Kaputt 1.0 alpha
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-11-24 (22:52)
From: forum@x9c.fr <forum@x...>
Subject: Re: [Caml-list] [ANN] Kaputt 1.0 alpha

Le 24 nov. 08 à 22:49, Christophe Raffalli a écrit :
>> (...)
>> Maybe things could be done in a lighter way by using objects ?
> Or a camlp4 extension to build the intended function(s) by induction  
> on
> the type definition.
> you could include that as part of deriving
> (http://code.google.com/p/deriving/)

Good idea.
I would regard a deriving-based "class" for generation
of test cases as a very useful enhancement.

However, I do not know the policy of the "deriving"
developers. Would they accept a "class" relying on
a library besides the standard library ?