ghc-9.6.3: The GHC API

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.HsToCore.Foreign.Call

# Documentation

dsCCall :: CLabelString -> [CoreExpr] -> Safety -> Type -> DsM CoreExpr Source #

mkFCall :: Unique -> ForeignCall -> [CoreExpr] -> Type -> CoreExpr Source #

unboxArg :: CoreExpr -> DsM (CoreExpr, CoreExpr -> CoreExpr) Source #

boxResult :: Type -> DsM (Type, CoreExpr -> CoreExpr) Source #

resultWrapper :: Type -> DsM (Maybe Type, CoreExpr -> CoreExpr) Source #