Agda-2.6.2.1.20220320: A dependently typed functional programming language and proof assistant
Safe HaskellSafe-Inferred
LanguageHaskell2010

Agda.TypeChecking.DeadCode

Synopsis

Documentation

eliminateDeadCode :: DisplayForms -> Signature -> TCM (DisplayForms, Signature) Source #

Run before serialisation to remove any definitions that are not reachable from the public interface to the module.