ExUnion v0.1.1
  • Pages
  • Modules

    View Source Maybe (ExUnion v0.1.1)

    Link to this section Summary

    Types

    t()
    union()
    union_none()
    union_some()

    Functions

    is_maybe(value)
    none()

    See Maybe.None.new/0.

    some(value)

    See Maybe.Some.new/1.

    Link to this section Types

    Link to this type

    t()

    View Source
    @type t() :: union()
    Link to this type

    union()

    View Source
    @type union() :: Maybe.None.t() | Maybe.Some.t()
    Link to this type

    union_none()

    View Source
    @type union_none() :: Maybe.None.t()
    Link to this type

    union_some()

    View Source
    @type union_some() :: Maybe.Some.t()

    Link to this section Functions

    Link to this macro

    is_maybe(value)

    View Source (macro)
    Link to this function

    none()

    View Source
    @spec none() :: Maybe.None.t()

    See Maybe.None.new/0.

    Link to this function

    some(value)

    View Source
    @spec some(value :: any()) :: Maybe.Some.t()

    See Maybe.Some.new/1.

    On Hex.pm: Package Preview (current file)

    Built using ExDoc (v0.28.5) for the Elixir programming language