| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.PureScript.DCE.Eval
Description
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.eqof two literalsData.Array.indexon 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.