ghc-8.2.0.20170404: The GHC API

Safe HaskellNone
LanguageHaskell2010

DsExpr (signature[?])

Synopsis

Documentation

dsLExprNoLP :: LHsExpr Id -> DsM CoreExpr Source #

Variant of dsLExpr that ensures that the result is not levity polymorphic. This should be used when the resulting expression will be an argument to some other function. See Note [Levity polymorphism checking] in DsMonad See Note [Levity polymorphism invariants] in CoreSyn