std.alternative

Types

type Alternative f = {
    applicative : std.applicative.Applicative f,
    or : forall a . f a -> f a -> f a,
    empty : forall a . f a
}

A monoid on applicative functors.

Values

let empty ?alt : forall a a0 . [std.alternative.Alternative a] -> a a0

let or ?alt : forall a a0 . [std.alternative.Alternative a] -> a a0 -> a a0 -> a a0

let <|> : forall a a0 . [std.alternative.Alternative a] -> a a0 -> a a0 -> a a0

Alias of or