lean2/tests/lean/run/pickle1.lean

8 lines
206 B
Text
Raw Normal View History

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