Safe Haskell | None |
---|---|
Language | Haskell2010 |
Simple dead call elimination in foreign modules.
- dceForeignModule :: [Ident] -> [JSStatement] -> [JSStatement]
Documentation
dceForeignModule :: [Ident] -> [JSStatement] -> [JSStatement] Source #
Filter export statements in a foreign module. This is not 100% safe. It
might remove declarations that are used somewhere in the foreign module (for
example by using
).eval