invertible-0.2.0.8: bidirectional arrows, bijective functions, and invariant functors
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Invertible.Coerce

Description

Bidirectional version of Data.Coerce.

Synopsis

Documentation

coerce :: (Coercible a b, Coercible b a) => a <-> b Source #

Safely coerce between values of types that have the same representation.