@hackage keyed0.2.0.0
Generic indexing for many data structures
Categories
License
BSD-3-Clause
Maintainer
will.yager@gmail.com
Links
- Documentation
- No source repository
- Security
Versions
Installation
Dependencies (3)
- base >=4.7 && <4.9
- containers >=0.5 && <=0.5.6.3
- vector >=0.8 && <=0.11.0.0 Show all…
Dependents (1)
@hackage/acme-everything
This library is simple enough: it provides overloaded functions for indexing data structures.
In Data.Keyed, we provide functions for pure data structures that return the contained values unwrapped.
For example, you can do [1,2,3] ! 2
or Map.fromList [(1,'a'),(2,'b')] ! 1
.
In Data.MKeyed, we provide functions for data structures that return the contained values wrapped in a Monad (like IO
, ST
, or STM
) or other container. This module is highly experimental, and it may change to improve interoperability with certain libraries.