package travesty

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

To_mappable0 lowers a filter-mappable arity-0 type to a mappable one.

Parameters

Signature

include Generic_types.S0 with type t := F.t with type elt := F.elt
include Mappable_types.Generic with type 'a t := F.t and type 'a elt := F.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 Generic_types.Generic with type 'a t := F.t with type 'a elt := F.elt
val map : F.t -> f:(F.elt -> F.elt) -> F.t

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