This PR changes the naming of the internal functions in deriving instances like BEq to use accessible names. This is necessary to reasonably easily prove things about these functions. For example after `deriving BEq` for a type `T`, the implementation of `instBEqT` is in `instBEqT.beq`.
13 lines
150 B
Text
13 lines
150 B
Text
macro "test%" n:ident : command =>
|
|
`(def foo := 42
|
|
def $n := foo
|
|
)
|
|
|
|
test% bar
|
|
|
|
/--
|
|
info: def bar : Nat :=
|
|
foo✝
|
|
-/
|
|
#guard_msgs in
|
|
#print bar
|