travesty

Traversable containers, monad extensions, and more
IN THIS PACKAGE
include Generic_types.Bi0
type t

Fixed type of containers.

type left

Fixed type of left elements.

type right

Fixed type of right elements.

include Basic_generic_on_applicative with type ('l, 'r) t := t and type 'l left := left and type 'r right := right
include Generic_types.Bi_generic with type ('l, 'r) t := t with type 'l left := left with type 'r right := right

M is the applicative functor over which we're bi-traversing.

val bi_map_m : t -> left:( left -> left M.t ) -> right:( right -> right M.t ) -> t M.t

bi_map_m c ~left ~right traverses with left over every 'l1 left, and right over every 'r1 right, in c.