lean2/tests/lean/run/list_vector_overload.lean

11 lines
218 B
Text
Raw Normal View History

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)