Data.Queue
data Queue a Source #
Constructors
Defined in Data.Queue
Methods
fmap :: (a -> b) -> Queue a -> Queue b #
(<$) :: a -> Queue b -> Queue a #
Associated Types
type Item (Queue a) #
fromList :: [Item (Queue a)] -> Queue a #
fromListN :: Int -> [Item (Queue a)] -> Queue a #
toList :: Queue a -> [Item (Queue a)] #
showsPrec :: Int -> Queue a -> ShowS #
show :: Queue a -> String #
showList :: [Queue a] -> ShowS #
(==) :: Queue a -> Queue a -> Bool #
(/=) :: Queue a -> Queue a -> Bool #
compare :: Queue a -> Queue a -> Ordering #
(<) :: Queue a -> Queue a -> Bool #
(<=) :: Queue a -> Queue a -> Bool #
(>) :: Queue a -> Queue a -> Bool #
(>=) :: Queue a -> Queue a -> Bool #
max :: Queue a -> Queue a -> Queue a #
min :: Queue a -> Queue a -> Queue a #
emptyQ :: Queue a Source #
nullQ :: Queue a -> Bool Source #
singletonQ :: a -> Queue a Source #
headQ :: Queue a -> Maybe (a, Queue a) Source #
insertQ :: a -> Queue a -> Queue a Source #
snocQ :: Queue a -> a -> Queue a Source #
consQ :: a -> Queue a -> Queue a Source #
(|>) :: Queue a -> a -> Queue a Source #
(<|) :: a -> Queue a -> Queue a Source #