[Libguestfs] [PATCH v2 3/4] common/mlstdutils: Introduce Option submodule.
Pino Toscano
ptoscano at redhat.com
Thu Oct 12 13:50:08 UTC 2017
On Sunday, 8 October 2017 23:26:55 CEST Richard W.M. Jones wrote:
> Inspired by ocaml-extlib, introduce a module for handling option
> types.
>
> We already had the ‘may’ function (which becomes ‘Option.may’). This
> adds also ‘Option.map’ (unused), and ‘Option.default’ functions.
>
> Note this does *not* introduce the unsafe ‘Option.get’ function from
> extlib.
> ---
LGTM.
THanks,
--
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20171012/a2b4edd0/attachment.sig>
More information about the Libguestfs
mailing list