blob: c950d6b3bbf3f81d44ea81d2c94cbb131490a6ed [file] [edit]
namespace Foo
inductive Bar
| a : Bar
| b : Bar
#check Bar.a
end Foo
open Foo (Bar)
#check Foo.Bar.a
#check Bar.a
def isA : Bar → Bool
| Foo.Bar.a => true
| Foo.Bar.b => false
def isB : Bar → Bool
| Bar.a => true
| Bar.b => false