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 S.t
type elt

The element type.

include Mappable.Generic with type 'a t := Left.t S.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 S.t with type 'a elt := elt
val map : Left.t S.t -> f:(elt -> elt) -> Left.t S.t

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

OCaml

Innovation. Community. Security.