ghc-7.4.1: The GHC API

Safe Haskell | Safe-Infered

DsCCall

# Documentation

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

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

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

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

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