Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Nothing
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 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 |