Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Aliases for zippable functors, as the ones in Key.Zip inline too early
Documentation
class Functor f => Zip (f :: Type -> Type) Source #
Laws:
fmap
fst
(zip
u u) = ufmap
snd
(zip
u u) = uzip
(fmap
fst
u) (fmap
snd
u) = uzip
(flip
(,)) x y =zip
y x
Instances
Zip ZipList | |
Zip Identity | |
Zip Product Source # | |
Zip Sum Source # | |
Zip Par1 | |
Zip IntMap | |
Zip Seq | |
Zip Tree | |
Zip NonEmpty | |
Zip Maybe | |
Zip [] | |
Zip (Proxy :: Type -> Type) | |
Zip (U1 :: Type -> Type) | |
Zip (V1 :: Type -> Type) | |
Ord k => Zip (Map k) | |
Zip f => Zip (Cofree f) | |
(Eq k, Hashable k) => Zip (HashMap k) | |
Zip (Vector n) Source # | |
Zip f => Zip (Rec1 f) | |
Zip w => Zip (TracedT s w) | |
Zip (Tagged a) | |
Zip m => Zip (IdentityT m) | |
Zip m => Zip (ReaderT e m) | |
(Zip f, Zip g) => Zip (Product f g) | |
(Zip f, Zip g) => Zip (f :*: g) | |
Zip ((->) a) | |
(Zip f, Zip g) => Zip (Compose f g) | |
(Zip f, Zip g) => Zip (g :.: f) | |
Zip f => Zip (M1 i c f) | |