| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Data.Align.Key
Description
These-based zipping and unzipping of indexed functors.
- class (Keyed f, Align f) => AlignWithKey f where
Documentation
class (Keyed f, Align f) => AlignWithKey f where Source #
Keyed version of Align.
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 # | |
| AlignWithKey Maybe Source # | |
| AlignWithKey IntMap Source # | |
| AlignWithKey Seq Source # | |
| AlignWithKey Vector Source # | |
| (Eq k, Hashable k) => AlignWithKey (HashMap k) Source # | |
| Ord k => AlignWithKey (Map k) Source # | |