ghc-9.8.0.20230919: The GHC API
Safe HaskellNone
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]