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