lean2/tests/lean/run/pickle1.lean
2015-04-14 21:32:07 -07:00

7 lines
206 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import data.countable
open countable decidable bool prod list nat option
variable l : list (nat × bool)
check pickle l
eval pickle [2, 1]
example : unpickle (list nat) (pickle [1, 1]) = some [1, 1] :=
rfl