package travesty

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

Permits mapping over the left type.

include Types_intf.S0 with type t := (Left.t, Right.t) t
type elt

The element type.

include Mappable.Generic with type 'a t := (Left.t, Right.t) t and type 'a elt := elt

Generic refers to the container type as 'a t, and the element type as 'a elt; substitute t/elt (arity-0) or 'a t/'a (arity-1) accordingly below.

include Types_intf.Generic with type 'a t := (Left.t, Right.t) t with type 'a elt := elt
val map : (Left.t, Right.t) t -> f:(elt -> elt) -> (Left.t, Right.t) t

map c ~f maps f over every t in c.

OCaml

Innovation. Community. Security.