alg_structs
Alg_structs
module Triv : sig ... end
A solitary type
module Functor : sig ... end
An interface for types that can be mapped over.
module Applicative : sig ... end
Applicative functors "allow sequencing of functorial computations" (wikipedia) with the limitation that "values computed by subcomputations cannot affect what subsequent computations will take place" (Core docs).
module Semigroup : sig ... end
An interface for a type with a binary, associative operator over it.
module Monoid : sig ... end
An interface for a type with a binary, associative operator over it and a privileged unit value.
unit
module Foldable : sig ... end
Data structures that can be folded over.
module NonEmptyList : sig ... end
Non-empty lists
include module type of struct include Util end
type 'a proxy = 'a Util.proxy =
| Proxy
Proxy : 'a is a proxy for type 'a, allowing one to pass the type around without having to present a witnessing value.
Proxy : 'a
'a
See Haskell's Proxy.