ghc-8.10.1: The GHC API
Safe HaskellNone
LanguageHaskell2010

DsExpr

Synopsis

Documentation

dsLExprNoLP :: LHsExpr GhcTc -> 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