| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Queue.WithDict
Description
Provides a wrapper for queues, allowing them to conform to Foldable.
Documentation
data WithDict f a where Source #
This stores the dictionary of methods for the
priority queue of f, allowing the entire type
to conform to Foldable.
Instances
| Foldable (WithDict f) Source # | |
| MeldableQueue f a => MeldableQueue (WithDict f) a Source # | |
| Queue f a => Queue (WithDict f) a Source # | |
| (Eq a, Queue f a) => Eq (WithDict f a) Source # | |
| (Data a, Data (f a), Typeable (* -> *) f, Queue f a) => Data (WithDict f a) Source # | |
| (Ord a, Queue f a) => Ord (WithDict f a) Source # | |
| (Read a, Queue f a) => Read (WithDict f a) Source # | |
| (Show a, Queue f a) => Show (WithDict f a) Source # | |
| NFData (f a) => NFData (WithDict f a) Source # | |