MaybeBind

Bind function for Maybe: (a -> Maybe b) -> (Maybe a -> Maybe b).

  1. class MaybeBind(A, B)
    class MaybeBind : Function!(Maybe!A, Maybe!B)(
    A
    B
    ) {}
  2. auto maybeBind(F f)

Constructors

this
this(Function!(A, Maybe!B) f)
Undocumented in source.

Members

Functions

opCall
Maybe!B opCall(Maybe!A x)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

f
Function!(A, Maybe!B) f;
Undocumented in source.

Meta