Re: [Libguestfs] [PATCH v2 3/4] common/mlstdutils: Introduce Option submodule.

Pino Toscano
Thu, 12 Oct 2017 13:50:08 -0000

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