fix(tests/lean/run/choice_anon_ctor): fix test
This commit is contained in:
parent
36b2fb228e
commit
7d4fe55bff
1 changed files with 6 additions and 1 deletions
|
|
@ -1,4 +1,9 @@
|
|||
import data.list data.vector
|
||||
constant vector : Type → nat → Type
|
||||
constant vector.nil {α} : vector α 0
|
||||
constant vector.cons {α n} : α → vector α n → vector α (nat.succ n)
|
||||
|
||||
notation a :: b := vector.cons a b
|
||||
notation `[` l:(foldr `, ` (h t, vector.cons h t) vector.nil `]`) := l
|
||||
|
||||
structure author :=
|
||||
(name : string)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue