lean2/tests/lean/run/list_vector_overload.lean
2015-08-16 18:24:30 -07:00

10 lines
218 B
Text

import data.list data.examples.vector
open list vector nat
variables (A : Type) (a b c : A)
check [a, b, c]
check (#list [a, b, c])
check (#vector [a, b, c])
check ([a, b, c] : vector A _)
check ([a, b, c] : list A)