batteries

A community-maintained standard library extension
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library batteries
Module type BatInterfaces . Mappable
type 'a mappable

The data structure, e.g. 'a List.t

val map : ( 'a -> 'b ) -> 'a mappable -> 'b mappable

map f e applies f to every element of e and returns the corresponding data structure