lean2/tests/lean/run/alias3.lean
Leonardo de Moura a5f0593df1 feat(*): change inductive datatype syntax
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-08-22 15:46:10 -07:00

26 lines
376 B
Text

import logic
namespace N1
section
section
variable A : Type
definition foo (a : A) : Prop := true
check foo
end
check foo
end
check foo
end N1
check N1.foo
namespace N2
section
parameter A : Type
inductive list : Type :=
nil {} : list,
cons : A → list → list
check list
end
check list
end N2
check N2.list