34 lines
344 B
Text
34 lines
344 B
Text
--
|
|
namespace foo
|
|
constant f : nat → nat
|
|
constant g : nat → nat
|
|
end foo
|
|
|
|
namespace boo
|
|
constant f : nat → nat
|
|
end boo
|
|
|
|
open foo boo
|
|
|
|
#check ``f
|
|
|
|
#check ``g
|
|
|
|
open nat
|
|
|
|
#check ``has_add.add
|
|
|
|
#check ``gcd
|
|
|
|
#check `f
|
|
#check `foo.f
|
|
|
|
namespace bla
|
|
section
|
|
parameter A : Type
|
|
definition ID : A → A := λ x, x
|
|
|
|
#check ``ID
|
|
|
|
end
|
|
end bla
|