Safe Haskell | Trustworthy |
---|---|
Language | Haskell2010 |
Synopsis
- module Data.Type.Coercion
- gcoerceWith :: Coercion a b -> (Coercible a b -> r) -> r
Documentation
module Data.Type.Coercion
gcoerceWith :: Coercion a b -> (Coercible a b -> r) -> r #
Generalized form of type-safe cast using representational equality
Since: base-4.10.0.0