| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Align.Key
Description
These-based zipping and unzipping of indexed functors.
Since: 0.7.1
Synopsis
- class (Keyed f, Semialign f) => AlignWithKey f where
- alignWithKey :: (Key f -> These a b -> c) -> f a -> f b -> f c
Documentation
class (Keyed f, Semialign f) => AlignWithKey f where Source #
Keyed version of Align.
Since: 0.7.1
Minimal complete definition
Nothing
Methods
alignWithKey :: (Key f -> These a b -> c) -> f a -> f b -> f c Source #
Analogous to , but also provides an index.alignWith
Instances
| AlignWithKey [] Source # | |
Defined in Data.Align.Key Methods alignWithKey :: (Key [] -> These a b -> c) -> [a] -> [b] -> [c] Source # | |
| AlignWithKey Maybe Source # | |
Defined in Data.Align.Key | |
| AlignWithKey ZipList Source # | Since: 0.7.6 |
Defined in Data.Align.Key | |
| AlignWithKey IntMap Source # | |
Defined in Data.Align.Key | |
| AlignWithKey Seq Source # | |
Defined in Data.Align.Key | |
| AlignWithKey Vector Source # | |
Defined in Data.Align.Key | |
| (Eq k, Hashable k) => AlignWithKey (HashMap k) Source # | |
Defined in Data.Align.Key | |
| Ord k => AlignWithKey (Map k) Source # | |
Defined in Data.Align.Key | |