ghc-lib-9.4.8.20231111: The GHC API, decoupled from GHC versions
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]