2015-01-08 20:00:47 +00:00
|
|
|
import data.vector
|
|
|
|
open nat vector
|
|
|
|
|
|
|
|
variable {A : Type}
|
|
|
|
|
2015-02-26 00:20:44 +00:00
|
|
|
definition foo : Π {n : nat}, vector A n → nat
|
|
|
|
| foo nil := 0
|
|
|
|
| foo (a :: b :: v) := 0
|
2015-01-08 20:00:47 +00:00
|
|
|
|
|
|
|
set_option pp.implicit false
|
|
|
|
|
2015-02-26 00:20:44 +00:00
|
|
|
definition foo : Π {n : nat}, vector A n → nat
|
|
|
|
| foo nil := 0
|
|
|
|
| foo (a :: b :: v) := 0
|