lean2/tests/lean/run/private_names.lean
Leonardo de Moura 4f2e0c6d7f refactor(frontends/lean): add 'attribute' command
The new command provides a uniform way to set declaration attributes.
It replaces the commands: class, instance, coercion, multiple_instances,
reducible, irreducible
2015-01-24 20:23:21 -08:00

11 lines
187 B
Text

namespace bla
section
private definition foo : inhabited Prop :=
inhabited.mk false
attribute foo [instance] [priority 1000]
example : default Prop = false :=
rfl
end
end bla