Preface_stdlib.ListImplementation for List.t.
module Functor : Preface_specs.FUNCTOR with type 'a t = 'a tList.t implements Preface_specs.APPLICATIVE and introduces an interface to define Preface_specs.TRAVERSABLE using List as an iterable structure.
module Applicative :
Preface_specs.Traversable.API_OVER_APPLICATIVE with type 'a t = 'a tmodule Alternative : Preface_specs.ALTERNATIVE with type 'a t = 'a tmodule Selective : Preface_specs.SELECTIVE with type 'a t = 'a tList.t implements Preface_specs.MONAD and introduces an interface to define Preface_specs.TRAVERSABLE using List as an iterable structure.
module Monad : Preface_specs.Traversable.API_OVER_MONAD with type 'a t = 'a tmodule Monad_plus : Preface_specs.MONAD_PLUS with type 'a t = 'a tmodule Foldable : Preface_specs.FOLDABLE with type 'a t = 'a tmodule Invariant : Preface_specs.INVARIANT with type 'a t = 'a tList is the Free monoid over a type so wrapping a Preface_specs.SEMIGROUP into an List gives us a Preface_specs.MONOID with empty list as a neutral element.
module Monoid
(T : Preface_specs.Types.T0) :
Preface_specs.MONOID with type t = T.t tAdditional functions to facilitate practical work with List.t.
val pure : 'a -> 'a tCreate a value from 'a to 'a t.
val pp :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a t ->
unitFormatter for pretty-printing for List.t.