ghc-9.4.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]