Safe Haskell | None |
---|---|
Language | Haskell98 |
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
.
alignWithKey :: (Key f -> These a b -> c) -> f a -> f b -> f c Source #
Analogous to
, but also provides an index.alignWith
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 # | |