package preface

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t = 'a t

The type held by the Invariant.

val invmap : ('a -> 'b) -> ('b -> 'a) -> 'a t -> 'b t

Transform an 'a t into an 'b t given a transformation from 'a to 'b and one from 'b to 'a.