| 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 #
Keyed version of Align.
Methods
alignWithKey :: (Key f -> These a b -> c) -> f a -> f b -> f c #
Analogous to , but also provides an index.alignWith
Instances
| AlignWithKey [] # | |
| AlignWithKey Maybe # | |
| AlignWithKey IntMap # | |
| AlignWithKey Seq # | |
| AlignWithKey Vector # | |
| (Eq k, Hashable k) => AlignWithKey (HashMap k) # | |
| Ord k => AlignWithKey (Map k) # | |