Module Accessor.Nonempty
- type ('a, +'x, 'y) t
- An - (a, x, y) tis an applicative for defining- nonemptyaccessors. See the documentation of- Accessor.nonemptyfor more information.
include Applicative_without_return.S3_without_let_syntax with type ('a, 'x, 'y) t := ('a, 'x, 'y) t
- val apply : ('a -> 'b, 'd, 'e) t -> ('a, 'd, 'e) t -> ('b, 'd, 'e) t
- val map : ('a, 'd, 'e) t -> f:('a -> 'b) -> ('b, 'd, 'e) t
- val map2 : ('a, 'd, 'e) t -> ('b, 'd, 'e) t -> f:('a -> 'b -> 'c) -> ('c, 'd, 'e) t
- val map3 : ('a, 'd, 'e) t -> ('b, 'd, 'e) t -> ('c, 'd, 'e) t -> f:('a -> 'b -> 'c -> 'f) -> ('f, 'd, 'e) t
- val both : ('a, 'd, 'e) t -> ('b, 'd, 'e) t -> ('a * 'b, 'd, 'e) t
module Applicative_infix : sig ... endmodule Let_syntax = Nonempty.Let_syntaxmodule Accessed = Nonempty.Accessed- val access : 'a -> ('b, 'a, 'b) t
- access a"accesses"- aand returns the value you are expected replace it with.
module Of_applicative_without_return = Nonempty.Of_applicative_without_returnmodule Of_applicative_without_return2 = Nonempty.Of_applicative_without_return2module Of_applicative_without_return3 = Nonempty.Of_applicative_without_return3module Make_access : functor (T : sig ... end) -> sig ... endmodule Make_access3 : functor (T : sig ... end) -> sig ... endmodule Make_access4 : functor (T : sig ... end) -> sig ... end