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

Agda.Compiler.MAlonzo.Coerce

Synopsis

Documentation

addCoercions :: HasConstInfo m => TTerm -> m TTerm Source #

Insert unsafeCoerce (in the form of TCoerce) everywhere it's needed in the right-hand side of a definition.

erasedArity :: HasConstInfo m => QName -> m Nat Source #

The number of retained arguments after erasure.