Agda-2.6.3.20230930: 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.