ghc-7.8.2: The GHC API

Safe Haskell | None
Language | Haskell98

DsBinds

# Documentation

dsTopLHsBinds :: LHsBinds Id -> DsM (OrdList (Id, CoreExpr))

dsLHsBinds :: LHsBinds Id -> DsM [(Id, CoreExpr)]

decomposeRuleLhs :: [Var] -> CoreExpr -> Either SDoc ([Var], Id, [CoreExpr])

dsSpec :: Maybe CoreExpr -> Located TcSpecPrag -> DsM (Maybe (OrdList (Id, CoreExpr), CoreRule))

dsHsWrapper :: HsWrapper -> CoreExpr -> DsM CoreExpr

dsTcEvBinds :: TcEvBinds -> DsM [CoreBind]

dsEvBinds :: Bag EvBind -> DsM [CoreBind]