[Libguestfs] [PATCH 02/27] daemon: Allow parts of the daemon and APIs to be written in OCaml.

Pino Toscano ptoscano at redhat.com
Mon Jul 24 11:04:00 UTC 2017


On Friday, 21 July 2017 14:35:10 CEST Richard W.M. Jones wrote:
> On Thu, Jul 20, 2017 at 01:44:14PM +0200, Pino Toscano wrote:
> > An interface like:
> >   val f : t -> ('a -> 'b) -> 'a -> 'b
> >   val fn : t -> (unit -> unit) -> 'a
> 
> I'm still not very clear.
> 
> In any case you can't [without using unsafe OCaml features] have an
> interface that returns 'a without some parameter also being
> polymorphic.

Ah ok, I see -- a pity IMHO.

Thanks,
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170724/1fa331f4/attachment.sig>


More information about the Libguestfs mailing list