ghc-9.6.5: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Builtin.PrimOps.Casts

Synopsis

Documentation

getCasts :: PrimRep -> PrimRep -> [(PrimOp, Type)] Source #

`getCasts from_rep to_rep` gives us a list of primops which when applied in order convert from_rep to to_rep. See Note [PrimRep based casting]