package travesty

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Basic1_right_on_applicative is the inner signature of a monadic bi-traversal over arity-1 types with a floating right type and fixed left type.

include Generic_types.Bi_right
type 'r t

Partially fixed type of containers.

type left

Fixed type of left elements.

include Basic_generic_on_applicative with type ('l, 'r) t := 'r t and type 'l left := left and type 'r right := 'r
include Generic_types.Bi_generic with type ('l, 'r) t := 'r t with type 'l left := left with type 'r right := 'r
module M : Base.Applicative.S

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

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

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

OCaml

Innovation. Community. Security.