Safe Haskell | None |
---|---|
Language | Haskell98 |
These
-based zipping and unzipping of indexed functors.
Synopsis
- 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
Instances
AlignWithKey [] Source # | |
Defined in Data.Align.Key alignWithKey :: (Key [] -> These a b -> c) -> [a] -> [b] -> [c] Source # | |
AlignWithKey Maybe Source # | |
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 |