lean4-htt/tests/lean/run/ind_cnst_params.lean
2017-03-09 18:41:19 -08:00

15 lines
276 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

inductive foo
| mk (a : nat) (b : nat) : bool → foo
#print foo.mk
#check foo.mk 0 0 tt
universe variables u
inductive List (α : Type u)
| nil {} (a : nat) : List
| cons (hd : α) (tail : List) : List
#check List.cons "a" (List.nil 1)
#check List.cons "a" (List.nil 2)