ghc-8.0.2: The GHC API

Safe HaskellNone
LanguageHaskell2010

DsBinds

Synopsis

Documentation

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

Desugar top level binds, strict binds are treated like normal binds since there is no good time to force before first usage.

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

Desugar all other kind of bindings, Ids of strict binds are returned to later be forced in the binding gorup body, see Note [Desugar Strict binds]