[Libguestfs] [PATCH 1/3] sysprep, get-kernel: explicit the Guestfs parameter

Pino Toscano ptoscano at redhat.com
Thu Feb 4 09:26:44 UTC 2016


On Wednesday 03 February 2016 18:35:01 Richard W.M. Jones wrote:
> On Wed, Feb 03, 2016 at 07:28:16PM +0100, Pino Toscano wrote:
> > Help the OCaml compiler by expliciting Guestfs.guestfs as type for 'g'
> > in some functions.
> 
> Looks mechanical, ACK.
> 
> Does Hindley-Milner type inference have problems here?  I've not seen
> them in this case.

They seem to be needed when adding the additional labelled argument to
glob_expand.

-- 
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/20160204/5685fb1c/attachment.sig>


More information about the Libguestfs mailing list