ghc-9.0.1: The GHC API
Safe HaskellNone
LanguageHaskell2010

GHC.HsToCore.Expr

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 GHC.HsToCore.Monad See Note [Levity polymorphism invariants] in GHC.Core