Safe Haskell | None |
---|---|
Language | Haskell2010 |
Evaluation of PureScript's expressions used in dead call elimnation.
Documentation
dceEval :: forall m. (MonadError (DCEError Error) m, MonadWriter [DCEError Warning] m) => [Module Ann] -> m [Module Ann] Source #
Evaluate expressions in a module:
Data.Eq.eq
of two literalsData.Array.index
on a literal array- Object accessors
- Semigroup operations (
Array
,String
,Unit
) - Semiring operations (
Unit
,Unit
,Unit
)
Keep stack of local identifiers from let
and case
expressions, ignoring
the ones that are comming from abstractions.