JS
Size: a a a
JS
JS
E
JS
E
JS
к
instance Eq HuffmanTree where
a == b = weightHuffman a == weightHuffman b
instance Ord HuffmanTree where
compare a b = weightHuffman a `compare` weightHuffman b
instance Eq HuffmanTree where
(==) = (==) `on` weightHuffman
instance Ord HuffmanTree where
compare = compare `on` weightHuffman
JS
E
JS
E
JS
JS
E
JS
JS
E
E
JS
E