Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- prioHeapOf :: IndexedGetting k (PrioHeap k a) s a -> s -> PrioHeap k a
Documentation
prioHeapOf :: IndexedGetting k (PrioHeap k a) s a -> s -> PrioHeap k a Source #
Construct a PrioHeap from a IndexedGetter
, IndexedFold
, IndexedTraversal
or IndexedLens
.
Orphan instances
FunctorWithIndex k (PrioHeap k) Source # | |
FoldableWithIndex k (PrioHeap k) Source # | |
TraversableWithIndex k (PrioHeap k) Source # | |
itraverse :: Applicative f => (k -> a -> f b) -> PrioHeap k a -> f (PrioHeap k b) # itraversed :: IndexedTraversal k (PrioHeap k a) (PrioHeap k b) a b # | |
Ord k => TraverseMin k (PrioHeap k) Source # | |
traverseMin :: IndexedTraversal' k (PrioHeap k v) v # | |
Ord k => TraverseMax k (PrioHeap (Down k)) Source # | |
traverseMax :: IndexedTraversal' k (PrioHeap (Down k) v) v # | |
Ord k => Wrapped (PrioHeap k a) Source # | |
AsEmpty (PrioHeap k a) Source # | |
(t ~ PrioHeap k' a', Ord k) => Rewrapped (PrioHeap k a) t Source # | Use |
c ~ d => Each (PrioHeap c a) (PrioHeap d b) a b Source # | |