lean4-htt/old_tests/tests/lean/const.lean
2018-04-10 12:56:55 -07:00

17 lines
301 B
Text

--
universe variables u
definition foo {A : Type u} [H : inhabited A] : A :=
inhabited.rec (λa, a) H
constant bla {A : Type u} [H : inhabited A] : Type 1
set_option pp.implicit true
section
variable A : Type u
variable S : inhabited A
variable B : @bla A S
#check B
#check @foo A S
end