| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Align.Indexed
Description
These-based zipping and unzipping of indexed functors.
Since: 0.7.6
Synopsis
- class (FunctorWithIndex i f, Align f) => AlignWithIndex i f | f -> i where
Documentation
class (FunctorWithIndex i f, Align f) => AlignWithIndex i f | f -> i where #
Keyed version of Align.
Since: 0.7.6
Methods
ialign :: (i -> These a b -> c) -> f a -> f b -> f c #
Analogous to , but also provides an index.alignWith
Instances
| AlignWithIndex Int [] # | |
Defined in Data.Align.Indexed | |
| AlignWithIndex Int ZipList # | |
| AlignWithIndex Int IntMap # | |
| AlignWithIndex Int Seq # | |
| AlignWithIndex Int Vector # | |
| AlignWithIndex () Maybe # | |
| (Eq k, Hashable k) => AlignWithIndex k (HashMap k) # | |
| Ord k => AlignWithIndex k (Map k) # | |