| Copyright | (c) 2021 Kowainik |
|---|---|
| License | MPL-2.0 |
| Maintainer | Kowainik <xrom.xkov@gmail.com> |
| Stability | Stable |
| Portability | Portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Slist.Containers
Description
Useful combinators to work with the data structures from containers package
and Slist together.
Since: 0.2.0.0
Map
mapToVals :: Map k v -> Slist v Source #
O(n).
Returns a Slist of all values of the map in the ascending order of their keys.
Since: 0.2.0.0
mapToKeys :: Map k v -> Slist k Source #
O(n).
Returns a Slist of all keys of the map in the ascending order.
Since: 0.2.0.0
mapToPairs :: Map k v -> Slist (k, v) Source #
O(n).
Returns a Slist of all key-value pairs of the map in the ascending order of their keys.
Since: 0.2.0.0