Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- definition module PairingHeap
- :: Heap a = Empty | Node a [Heap a]
- peek :: (Heap a) -> a
- push :: a -> (Heap a) -> (Heap a) | Ord a
- pop :: (Heap a) -> (Heap a) | Ord a
- listToHeap :: ([a] -> (Heap a)) | Ord a
- heapToList :: (Heap a) -> [a] | Ord a
Add Comment
Please, Sign In to add comment