HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulegeneric-data-1.1.0.2Haskell2010

Generic.Data.Internal.Utils

Utilities.

Warning

This is an internal module: it is not subject to any versioning policy, breaking changes can happen at any time.

If something here seems useful, please report it or create a pull request to export it from an external module.

  • 10 values
valuecoerce' :: Coercible (f x) (g x) => f x -> g x
#

Coerce while preserving the type index.

valuefrom' :: Generic a => a -> Rep a ()
#

A helper for better type inference.

valueto' :: Generic a => Rep a () -> a
#

A helper for better type inference.