Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- eliminateDeadCode :: BuiltinThings PrimFun -> DisplayForms -> Signature -> LocalMetaStore -> TCM (DisplayForms, Signature, RemoteMetaStore)
Documentation
eliminateDeadCode :: BuiltinThings PrimFun -> DisplayForms -> Signature -> LocalMetaStore -> TCM (DisplayForms, Signature, RemoteMetaStore) Source #
Run before serialisation to remove any definitions and meta-variables that are not reachable from the module's public interface.
Things that are reachable only from warnings are removed.