ghc-7.10.3: The GHC API

Safe Haskell | None
Language | Haskell2010

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]