lean2/tests/lean/run/pickle1.lean

7 lines
204 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.encodable
open encodable decidable bool prod list nat option
variable l : list (nat × bool)
check encode l
eval encode [2, 1]
example : decode (list nat) (encode [1, 1]) = some [1, 1] :=
rfl