lean4-htt/tests/lean/629.lean
2021-08-17 10:19:12 -07:00

9 lines
217 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 Std.Data.BinomialHeap
open Std
def test : BinomialHeap (Nat × Nat) (λ (x, _) (y, _) => x < y) :=
BinomialHeap.empty.insert (0, 1) |>.insert (0, 2) |>.insert (0, 3)
#eval test.head
#eval test.tail.toList