lean4-htt/tests/lean/attributes.lean
Leonardo de Moura f00e6c0a96 feat(frontends/lean): anonymous instances
The instance name is synthesized automatically.
2016-09-23 13:34:34 -07:00

9 lines
196 B
Text

universe variables u
definition foo (A : Type u) := A
local attribute [reducible] foo
local attribute [-reducible] foo -- use [semireducible] instead
--
local attribute [-instance] nat.has_one