| |||||||||||||||||
| |||||||||||||||||
| Synopsis | |||||||||||||||||
| |||||||||||||||||
| Documentation | |||||||||||||||||
| data Queue a | |||||||||||||||||
| emptyQ :: Queue a | |||||||||||||||||
| singletonQ :: a -> Queue a | |||||||||||||||||
| isEmptyQ :: Queue a -> Bool | |||||||||||||||||
| insertQ :: Queue a -> a -> Queue a | |||||||||||||||||
| removeQ :: Queue a -> Maybe (a, Queue a) | |||||||||||||||||
| insertAtEndQ :: Queue a -> a -> Queue a | |||||||||||||||||
| listToQueue :: [a] -> Queue a | |||||||||||||||||
| Converts a list to a queue with the first element of the list the first element of the queue. | |||||||||||||||||
| queueToList :: Queue a -> [a] | |||||||||||||||||
| Inverts listToQueue | |||||||||||||||||
| Produced by Haddock version 0.3 |