lean4-htt/tests/leanpkg/user_attr/UserAttr/Tst.lean
Leonardo de Moura a77598f7cf feat: user-defined attributes
See new test for an example.

closes #513
2021-07-26 18:24:10 -07:00

4 lines
89 B
Text

import UserAttr.BlaAttr
@[bla] def f (x : Nat) := x + 2
@[bla] def g (x : Nat) := x + 1