okasaki

Okasaki's Purely Functional Data Structures
Log | Files | Refs | LICENSE

commit 931a4a6740c3a0a5ff4833ad6eed1acb49317165
parent a96d53bb8633c9f0590f46a9f45e32379737d25c
Author: Jared Tobin <jared@jtobin.io>
Date:   Thu,  6 Apr 2023 22:16:30 +0400

Bin heap Show derivation.

Diffstat:
Mlib/Okasaki/Heap/Class.hs | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/Okasaki/Heap/Class.hs b/lib/Okasaki/Heap/Class.hs @@ -24,6 +24,7 @@ instance Heap B.Heap where data Pile B.Heap a = Nib | Bin a (B.Heap a) + deriving Show via = \case B.Heap [] -> Nib