Module Continuation.Invariant

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.