Copyright | (C) 2018 Ryan Scott |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Ryan Scott |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Defines the promoted and singled versions of the Traversable
type class.
Synopsis
- class PTraversable t where
- class (SFunctor t, SFoldable t) => STraversable t where
- sTraverse :: forall a f b (t :: (~>) a (f b)) (t :: t a). SApplicative f => Sing t -> Sing t -> Sing (Apply (Apply TraverseSym0 t) t :: f (t b))
- sSequenceA :: forall f a (t :: t (f a)). SApplicative f => Sing t -> Sing (Apply SequenceASym0 t :: f (t a))
- sMapM :: forall a m b (t :: (~>) a (m b)) (t :: t a). SMonad m => Sing t -> Sing t -> Sing (Apply (Apply MapMSym0 t) t :: m (t b))
- sSequence :: forall m a (t :: t (m a)). SMonad m => Sing t -> Sing (Apply SequenceSym0 t :: m (t a))
- type family For (a :: t a) (a :: (~>) a (f b)) :: f (t b) where ...
- sFor :: forall t a f b (t :: t a) (t :: (~>) a (f b)). (STraversable t, SApplicative f) => Sing t -> Sing t -> Sing (Apply (Apply ForSym0 t) t :: f (t b))
- type family ForM (a :: t a) (a :: (~>) a (m b)) :: m (t b) where ...
- sForM :: forall t a m b (t :: t a) (t :: (~>) a (m b)). (STraversable t, SMonad m) => Sing t -> Sing t -> Sing (Apply (Apply ForMSym0 t) t :: m (t b))
- type family MapAccumL (a :: (~>) a ((~>) b (a, c))) (a :: a) (a :: t b) :: (a, t c) where ...
- sMapAccumL :: forall t a b c (t :: (~>) a ((~>) b (a, c))) (t :: a) (t :: t b). STraversable t => Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply MapAccumLSym0 t) t) t :: (a, t c))
- type family MapAccumR (a :: (~>) a ((~>) b (a, c))) (a :: a) (a :: t b) :: (a, t c) where ...
- sMapAccumR :: forall a b c t (t :: (~>) a ((~>) b (a, c))) (t :: a) (t :: t b). STraversable t => Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply MapAccumRSym0 t) t) t :: (a, t c))
- type family FmapDefault (a :: (~>) a b) (a :: t a) :: t b where ...
- sFmapDefault :: forall t a b (t :: (~>) a b) (t :: t a). STraversable t => Sing t -> Sing t -> Sing (Apply (Apply FmapDefaultSym0 t) t :: t b)
- type family FoldMapDefault (a :: (~>) a m) (a :: t a) :: m where ...
- sFoldMapDefault :: forall t m a (t :: (~>) a m) (t :: t a). (STraversable t, SMonoid m) => Sing t -> Sing t -> Sing (Apply (Apply FoldMapDefaultSym0 t) t :: m)
- data TraverseSym0 :: (~>) ((~>) a (f b)) ((~>) (t a) (f (t b)))
- data TraverseSym1 (a6989586621680721206 :: (~>) a (f b)) :: (~>) (t a) (f (t b))
- type family TraverseSym2 (a6989586621680721206 :: (~>) a (f b)) (a6989586621680721207 :: t a) :: f (t b) where ...
- data SequenceASym0 :: (~>) (t (f a)) (f (t a))
- type family SequenceASym1 (a6989586621680721210 :: t (f a)) :: f (t a) where ...
- data MapMSym0 :: (~>) ((~>) a (m b)) ((~>) (t a) (m (t b)))
- data MapMSym1 (a6989586621680721214 :: (~>) a (m b)) :: (~>) (t a) (m (t b))
- type family MapMSym2 (a6989586621680721214 :: (~>) a (m b)) (a6989586621680721215 :: t a) :: m (t b) where ...
- data SequenceSym0 :: (~>) (t (m a)) (m (t a))
- type family SequenceSym1 (a6989586621680721218 :: t (m a)) :: m (t a) where ...
- data ForSym0 :: (~>) (t a) ((~>) ((~>) a (f b)) (f (t b)))
- data ForSym1 (a6989586621680728748 :: t a) :: (~>) ((~>) a (f b)) (f (t b))
- type family ForSym2 (a6989586621680728748 :: t a) (a6989586621680728749 :: (~>) a (f b)) :: f (t b) where ...
- data ForMSym0 :: (~>) (t a) ((~>) ((~>) a (m b)) (m (t b)))
- data ForMSym1 (a6989586621680728737 :: t a) :: (~>) ((~>) a (m b)) (m (t b))
- type family ForMSym2 (a6989586621680728737 :: t a) (a6989586621680728738 :: (~>) a (m b)) :: m (t b) where ...
- data MapAccumLSym0 :: (~>) ((~>) a ((~>) b (a, c))) ((~>) a ((~>) (t b) (a, t c)))
- data MapAccumLSym1 (a6989586621680728724 :: (~>) a ((~>) b (a, c))) :: (~>) a ((~>) (t b) (a, t c))
- data MapAccumLSym2 (a6989586621680728724 :: (~>) a ((~>) b (a, c))) (a6989586621680728725 :: a) :: (~>) (t b) (a, t c)
- type family MapAccumLSym3 (a6989586621680728724 :: (~>) a ((~>) b (a, c))) (a6989586621680728725 :: a) (a6989586621680728726 :: t b) :: (a, t c) where ...
- data MapAccumRSym0 :: (~>) ((~>) a ((~>) b (a, c))) ((~>) a ((~>) (t b) (a, t c)))
- data MapAccumRSym1 (a6989586621680728714 :: (~>) a ((~>) b (a, c))) :: (~>) a ((~>) (t b) (a, t c))
- data MapAccumRSym2 (a6989586621680728714 :: (~>) a ((~>) b (a, c))) (a6989586621680728715 :: a) :: (~>) (t b) (a, t c)
- type family MapAccumRSym3 (a6989586621680728714 :: (~>) a ((~>) b (a, c))) (a6989586621680728715 :: a) (a6989586621680728716 :: t b) :: (a, t c) where ...
- data FmapDefaultSym0 :: (~>) ((~>) a b) ((~>) (t a) (t b))
- data FmapDefaultSym1 (a6989586621680728700 :: (~>) a b) :: (~>) (t a) (t b)
- type family FmapDefaultSym2 (a6989586621680728700 :: (~>) a b) (a6989586621680728701 :: t a) :: t b where ...
- data FoldMapDefaultSym0 :: (~>) ((~>) a m) ((~>) (t a) m)
- data FoldMapDefaultSym1 (a6989586621680728681 :: (~>) a m) :: (~>) (t a) m
- type family FoldMapDefaultSym2 (a6989586621680728681 :: (~>) a m) (a6989586621680728682 :: t a) :: m where ...
Documentation
class PTraversable t Source #
type Traverse (arg :: (~>) a (f b)) (arg :: t a) :: f (t b) Source #
type SequenceA (arg :: t (f a)) :: f (t a) Source #
type MapM (arg :: (~>) a (m b)) (arg :: t a) :: m (t b) Source #
Instances
class (SFunctor t, SFoldable t) => STraversable t where Source #
Nothing
sTraverse :: forall a f b (t :: (~>) a (f b)) (t :: t a). SApplicative f => Sing t -> Sing t -> Sing (Apply (Apply TraverseSym0 t) t :: f (t b)) Source #
default sTraverse :: forall a f b (t :: (~>) a (f b)) (t :: t a). ((Apply (Apply TraverseSym0 t) t :: f (t b)) ~ Apply (Apply Traverse_6989586621680721221Sym0 t) t, SApplicative f) => Sing t -> Sing t -> Sing (Apply (Apply TraverseSym0 t) t :: f (t b)) Source #
sSequenceA :: forall f a (t :: t (f a)). SApplicative f => Sing t -> Sing (Apply SequenceASym0 t :: f (t a)) Source #
default sSequenceA :: forall f a (t :: t (f a)). ((Apply SequenceASym0 t :: f (t a)) ~ Apply SequenceA_6989586621680721233Sym0 t, SApplicative f) => Sing t -> Sing (Apply SequenceASym0 t :: f (t a)) Source #
sMapM :: forall a m b (t :: (~>) a (m b)) (t :: t a). SMonad m => Sing t -> Sing t -> Sing (Apply (Apply MapMSym0 t) t :: m (t b)) Source #
default sMapM :: forall a m b (t :: (~>) a (m b)) (t :: t a). ((Apply (Apply MapMSym0 t) t :: m (t b)) ~ Apply (Apply MapM_6989586621680721243Sym0 t) t, SMonad m) => Sing t -> Sing t -> Sing (Apply (Apply MapMSym0 t) t :: m (t b)) Source #
sSequence :: forall m a (t :: t (m a)). SMonad m => Sing t -> Sing (Apply SequenceSym0 t :: m (t a)) Source #
Instances
sFor :: forall t a f b (t :: t a) (t :: (~>) a (f b)). (STraversable t, SApplicative f) => Sing t -> Sing t -> Sing (Apply (Apply ForSym0 t) t :: f (t b)) Source #
sForM :: forall t a m b (t :: t a) (t :: (~>) a (m b)). (STraversable t, SMonad m) => Sing t -> Sing t -> Sing (Apply (Apply ForMSym0 t) t :: m (t b)) Source #
type family MapAccumL (a :: (~>) a ((~>) b (a, c))) (a :: a) (a :: t b) :: (a, t c) where ... Source #
sMapAccumL :: forall t a b c (t :: (~>) a ((~>) b (a, c))) (t :: a) (t :: t b). STraversable t => Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply MapAccumLSym0 t) t) t :: (a, t c)) Source #
type family MapAccumR (a :: (~>) a ((~>) b (a, c))) (a :: a) (a :: t b) :: (a, t c) where ... Source #
sMapAccumR :: forall a b c t (t :: (~>) a ((~>) b (a, c))) (t :: a) (t :: t b). STraversable t => Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply MapAccumRSym0 t) t) t :: (a, t c)) Source #
type family FmapDefault (a :: (~>) a b) (a :: t a) :: t b where ... Source #
FmapDefault f x = Case_6989586621680728706 f x (Let6989586621680728704Scrutinee_6989586621680728318Sym2 f x) |
sFmapDefault :: forall t a b (t :: (~>) a b) (t :: t a). STraversable t => Sing t -> Sing t -> Sing (Apply (Apply FmapDefaultSym0 t) t :: t b) Source #
type family FoldMapDefault (a :: (~>) a m) (a :: t a) :: m where ... Source #
FoldMapDefault f x = Case_6989586621680728693 f x (Let6989586621680728691Scrutinee_6989586621680728321Sym2 f x) |
sFoldMapDefault :: forall t m a (t :: (~>) a m) (t :: t a). (STraversable t, SMonoid m) => Sing t -> Sing t -> Sing (Apply (Apply FoldMapDefaultSym0 t) t :: m) Source #
Defunctionalization symbols
data TraverseSym0 :: (~>) ((~>) a (f b)) ((~>) (t a) (f (t b))) Source #
Instances
(STraversable t, SApplicative f) => SingI (TraverseSym0 :: TyFun (a ~> f b) (t a ~> f (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing TraverseSym0 # | |
SuppressUnusedWarnings (TraverseSym0 :: TyFun (a ~> f b) (t a ~> f (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (TraverseSym0 :: TyFun (a ~> f b) (t a ~> f (t b)) -> Type) (a6989586621680721206 :: a ~> f b) Source # | |
Defined in Data.Traversable.Singletons type Apply (TraverseSym0 :: TyFun (a ~> f b) (t a ~> f (t b)) -> Type) (a6989586621680721206 :: a ~> f b) = TraverseSym1 a6989586621680721206 :: TyFun (t a) (f (t b)) -> Type |
data TraverseSym1 (a6989586621680721206 :: (~>) a (f b)) :: (~>) (t a) (f (t b)) Source #
Instances
(STraversable t, SApplicative f, SingI d) => SingI (TraverseSym1 d :: TyFun (t a) (f (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing (TraverseSym1 d) # | |
SuppressUnusedWarnings (TraverseSym1 a6989586621680721206 :: TyFun (t a) (f (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (TraverseSym1 a6989586621680721206 :: TyFun (t a) (f (t b)) -> Type) (a6989586621680721207 :: t a) Source # | |
Defined in Data.Traversable.Singletons type Apply (TraverseSym1 a6989586621680721206 :: TyFun (t a) (f (t b)) -> Type) (a6989586621680721207 :: t a) = Traverse a6989586621680721206 a6989586621680721207 |
type family TraverseSym2 (a6989586621680721206 :: (~>) a (f b)) (a6989586621680721207 :: t a) :: f (t b) where ... Source #
TraverseSym2 a6989586621680721206 a6989586621680721207 = Traverse a6989586621680721206 a6989586621680721207 |
data SequenceASym0 :: (~>) (t (f a)) (f (t a)) Source #
Instances
(STraversable t, SApplicative f) => SingI (SequenceASym0 :: TyFun (t (f a)) (f (t a)) -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing SequenceASym0 # | |
SuppressUnusedWarnings (SequenceASym0 :: TyFun (t (f a)) (f (t a)) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (SequenceASym0 :: TyFun (t (f a)) (f (t a)) -> Type) (a6989586621680721210 :: t (f a)) Source # | |
Defined in Data.Traversable.Singletons type Apply (SequenceASym0 :: TyFun (t (f a)) (f (t a)) -> Type) (a6989586621680721210 :: t (f a)) = SequenceA a6989586621680721210 |
type family SequenceASym1 (a6989586621680721210 :: t (f a)) :: f (t a) where ... Source #
SequenceASym1 a6989586621680721210 = SequenceA a6989586621680721210 |
data MapMSym0 :: (~>) ((~>) a (m b)) ((~>) (t a) (m (t b))) Source #
Instances
(STraversable t, SMonad m) => SingI (MapMSym0 :: TyFun (a ~> m b) (t a ~> m (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons | |
SuppressUnusedWarnings (MapMSym0 :: TyFun (a ~> m b) (t a ~> m (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (MapMSym0 :: TyFun (a ~> m b) (t a ~> m (t b)) -> Type) (a6989586621680721214 :: a ~> m b) Source # | |
data MapMSym1 (a6989586621680721214 :: (~>) a (m b)) :: (~>) (t a) (m (t b)) Source #
Instances
(STraversable t, SMonad m, SingI d) => SingI (MapMSym1 d :: TyFun (t a) (m (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons | |
SuppressUnusedWarnings (MapMSym1 a6989586621680721214 :: TyFun (t a) (m (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (MapMSym1 a6989586621680721214 :: TyFun (t a) (m (t b)) -> Type) (a6989586621680721215 :: t a) Source # | |
type family MapMSym2 (a6989586621680721214 :: (~>) a (m b)) (a6989586621680721215 :: t a) :: m (t b) where ... Source #
data SequenceSym0 :: (~>) (t (m a)) (m (t a)) Source #
Instances
(STraversable t, SMonad m) => SingI (SequenceSym0 :: TyFun (t (m a)) (m (t a)) -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing SequenceSym0 # | |
SuppressUnusedWarnings (SequenceSym0 :: TyFun (t (m a)) (m (t a)) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (SequenceSym0 :: TyFun (t (m a)) (m (t a)) -> Type) (a6989586621680721218 :: t (m a)) Source # | |
Defined in Data.Traversable.Singletons type Apply (SequenceSym0 :: TyFun (t (m a)) (m (t a)) -> Type) (a6989586621680721218 :: t (m a)) = Sequence a6989586621680721218 |
type family SequenceSym1 (a6989586621680721218 :: t (m a)) :: m (t a) where ... Source #
SequenceSym1 a6989586621680721218 = Sequence a6989586621680721218 |
data ForSym0 :: (~>) (t a) ((~>) ((~>) a (f b)) (f (t b))) Source #
Instances
(STraversable t, SApplicative f) => SingI (ForSym0 :: TyFun (t a) ((a ~> f b) ~> f (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons | |
SuppressUnusedWarnings (ForSym0 :: TyFun (t a) ((a ~> f b) ~> f (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (ForSym0 :: TyFun (t a) ((a ~> f b) ~> f (t b)) -> Type) (a6989586621680728748 :: t a) Source # | |
data ForSym1 (a6989586621680728748 :: t a) :: (~>) ((~>) a (f b)) (f (t b)) Source #
Instances
(STraversable t, SApplicative f, SingI d) => SingI (ForSym1 d :: TyFun (a ~> f b) (f (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons | |
SuppressUnusedWarnings (ForSym1 a6989586621680728748 :: TyFun (a ~> f b) (f (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (ForSym1 a6989586621680728748 :: TyFun (a ~> f b) (f (t b)) -> Type) (a6989586621680728749 :: a ~> f b) Source # | |
type family ForSym2 (a6989586621680728748 :: t a) (a6989586621680728749 :: (~>) a (f b)) :: f (t b) where ... Source #
data ForMSym0 :: (~>) (t a) ((~>) ((~>) a (m b)) (m (t b))) Source #
Instances
(STraversable t, SMonad m) => SingI (ForMSym0 :: TyFun (t a) ((a ~> m b) ~> m (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons | |
SuppressUnusedWarnings (ForMSym0 :: TyFun (t a) ((a ~> m b) ~> m (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (ForMSym0 :: TyFun (t a) ((a ~> m b) ~> m (t b)) -> Type) (a6989586621680728737 :: t a) Source # | |
data ForMSym1 (a6989586621680728737 :: t a) :: (~>) ((~>) a (m b)) (m (t b)) Source #
Instances
(STraversable t, SMonad m, SingI d) => SingI (ForMSym1 d :: TyFun (a ~> m b) (m (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons | |
SuppressUnusedWarnings (ForMSym1 a6989586621680728737 :: TyFun (a ~> m b) (m (t b)) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (ForMSym1 a6989586621680728737 :: TyFun (a ~> m b) (m (t b)) -> Type) (a6989586621680728738 :: a ~> m b) Source # | |
type family ForMSym2 (a6989586621680728737 :: t a) (a6989586621680728738 :: (~>) a (m b)) :: m (t b) where ... Source #
data MapAccumLSym0 :: (~>) ((~>) a ((~>) b (a, c))) ((~>) a ((~>) (t b) (a, t c))) Source #
Instances
STraversable t => SingI (MapAccumLSym0 :: TyFun (a ~> (b ~> (a, c))) (a ~> (t b ~> (a, t c))) -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing MapAccumLSym0 # | |
SuppressUnusedWarnings (MapAccumLSym0 :: TyFun (a ~> (b ~> (a, c))) (a ~> (t b ~> (a, t c))) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (MapAccumLSym0 :: TyFun (a ~> (b ~> (a, c))) (a ~> (t b ~> (a, t c))) -> Type) (a6989586621680728724 :: a ~> (b ~> (a, c))) Source # | |
Defined in Data.Traversable.Singletons |
data MapAccumLSym1 (a6989586621680728724 :: (~>) a ((~>) b (a, c))) :: (~>) a ((~>) (t b) (a, t c)) Source #
Instances
(STraversable t, SingI d) => SingI (MapAccumLSym1 d :: TyFun a (t b ~> (a, t c)) -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing (MapAccumLSym1 d) # | |
SuppressUnusedWarnings (MapAccumLSym1 a6989586621680728724 :: TyFun a (t b ~> (a, t c)) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (MapAccumLSym1 a6989586621680728724 :: TyFun a (t b ~> (a, t c)) -> Type) (a6989586621680728725 :: a) Source # | |
Defined in Data.Traversable.Singletons type Apply (MapAccumLSym1 a6989586621680728724 :: TyFun a (t b ~> (a, t c)) -> Type) (a6989586621680728725 :: a) = MapAccumLSym2 a6989586621680728724 a6989586621680728725 :: TyFun (t b) (a, t c) -> Type |
data MapAccumLSym2 (a6989586621680728724 :: (~>) a ((~>) b (a, c))) (a6989586621680728725 :: a) :: (~>) (t b) (a, t c) Source #
Instances
(STraversable t, SingI d1, SingI d2) => SingI (MapAccumLSym2 d1 d2 :: TyFun (t b) (a, t c) -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing (MapAccumLSym2 d1 d2) # | |
SuppressUnusedWarnings (MapAccumLSym2 a6989586621680728724 a6989586621680728725 :: TyFun (t b) (a, t c) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (MapAccumLSym2 a6989586621680728724 a6989586621680728725 :: TyFun (t b) (a, t c) -> Type) (a6989586621680728726 :: t b) Source # | |
Defined in Data.Traversable.Singletons type Apply (MapAccumLSym2 a6989586621680728724 a6989586621680728725 :: TyFun (t b) (a, t c) -> Type) (a6989586621680728726 :: t b) = MapAccumL a6989586621680728724 a6989586621680728725 a6989586621680728726 |
type family MapAccumLSym3 (a6989586621680728724 :: (~>) a ((~>) b (a, c))) (a6989586621680728725 :: a) (a6989586621680728726 :: t b) :: (a, t c) where ... Source #
MapAccumLSym3 a6989586621680728724 a6989586621680728725 a6989586621680728726 = MapAccumL a6989586621680728724 a6989586621680728725 a6989586621680728726 |
data MapAccumRSym0 :: (~>) ((~>) a ((~>) b (a, c))) ((~>) a ((~>) (t b) (a, t c))) Source #
Instances
STraversable t => SingI (MapAccumRSym0 :: TyFun (a ~> (b ~> (a, c))) (a ~> (t b ~> (a, t c))) -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing MapAccumRSym0 # | |
SuppressUnusedWarnings (MapAccumRSym0 :: TyFun (a ~> (b ~> (a, c))) (a ~> (t b ~> (a, t c))) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (MapAccumRSym0 :: TyFun (a ~> (b ~> (a, c))) (a ~> (t b ~> (a, t c))) -> Type) (a6989586621680728714 :: a ~> (b ~> (a, c))) Source # | |
Defined in Data.Traversable.Singletons |
data MapAccumRSym1 (a6989586621680728714 :: (~>) a ((~>) b (a, c))) :: (~>) a ((~>) (t b) (a, t c)) Source #
Instances
(STraversable t, SingI d) => SingI (MapAccumRSym1 d :: TyFun a (t b ~> (a, t c)) -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing (MapAccumRSym1 d) # | |
SuppressUnusedWarnings (MapAccumRSym1 a6989586621680728714 :: TyFun a (t b ~> (a, t c)) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (MapAccumRSym1 a6989586621680728714 :: TyFun a (t b ~> (a, t c)) -> Type) (a6989586621680728715 :: a) Source # | |
Defined in Data.Traversable.Singletons type Apply (MapAccumRSym1 a6989586621680728714 :: TyFun a (t b ~> (a, t c)) -> Type) (a6989586621680728715 :: a) = MapAccumRSym2 a6989586621680728714 a6989586621680728715 :: TyFun (t b) (a, t c) -> Type |
data MapAccumRSym2 (a6989586621680728714 :: (~>) a ((~>) b (a, c))) (a6989586621680728715 :: a) :: (~>) (t b) (a, t c) Source #
Instances
(STraversable t, SingI d1, SingI d2) => SingI (MapAccumRSym2 d1 d2 :: TyFun (t b) (a, t c) -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing (MapAccumRSym2 d1 d2) # | |
SuppressUnusedWarnings (MapAccumRSym2 a6989586621680728714 a6989586621680728715 :: TyFun (t b) (a, t c) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (MapAccumRSym2 a6989586621680728714 a6989586621680728715 :: TyFun (t b) (a, t c) -> Type) (a6989586621680728716 :: t b) Source # | |
Defined in Data.Traversable.Singletons type Apply (MapAccumRSym2 a6989586621680728714 a6989586621680728715 :: TyFun (t b) (a, t c) -> Type) (a6989586621680728716 :: t b) = MapAccumR a6989586621680728714 a6989586621680728715 a6989586621680728716 |
type family MapAccumRSym3 (a6989586621680728714 :: (~>) a ((~>) b (a, c))) (a6989586621680728715 :: a) (a6989586621680728716 :: t b) :: (a, t c) where ... Source #
MapAccumRSym3 a6989586621680728714 a6989586621680728715 a6989586621680728716 = MapAccumR a6989586621680728714 a6989586621680728715 a6989586621680728716 |
data FmapDefaultSym0 :: (~>) ((~>) a b) ((~>) (t a) (t b)) Source #
Instances
STraversable t => SingI (FmapDefaultSym0 :: TyFun (a ~> b) (t a ~> t b) -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing FmapDefaultSym0 # | |
SuppressUnusedWarnings (FmapDefaultSym0 :: TyFun (a ~> b) (t a ~> t b) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (FmapDefaultSym0 :: TyFun (a ~> b) (t a ~> t b) -> Type) (a6989586621680728700 :: a ~> b) Source # | |
Defined in Data.Traversable.Singletons type Apply (FmapDefaultSym0 :: TyFun (a ~> b) (t a ~> t b) -> Type) (a6989586621680728700 :: a ~> b) = FmapDefaultSym1 a6989586621680728700 :: TyFun (t a) (t b) -> Type |
data FmapDefaultSym1 (a6989586621680728700 :: (~>) a b) :: (~>) (t a) (t b) Source #
Instances
(STraversable t, SingI d) => SingI (FmapDefaultSym1 d :: TyFun (t a) (t b) -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing (FmapDefaultSym1 d) # | |
SuppressUnusedWarnings (FmapDefaultSym1 a6989586621680728700 :: TyFun (t a) (t b) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (FmapDefaultSym1 a6989586621680728700 :: TyFun (t a) (t b) -> Type) (a6989586621680728701 :: t a) Source # | |
Defined in Data.Traversable.Singletons type Apply (FmapDefaultSym1 a6989586621680728700 :: TyFun (t a) (t b) -> Type) (a6989586621680728701 :: t a) = FmapDefault a6989586621680728700 a6989586621680728701 |
type family FmapDefaultSym2 (a6989586621680728700 :: (~>) a b) (a6989586621680728701 :: t a) :: t b where ... Source #
FmapDefaultSym2 a6989586621680728700 a6989586621680728701 = FmapDefault a6989586621680728700 a6989586621680728701 |
data FoldMapDefaultSym0 :: (~>) ((~>) a m) ((~>) (t a) m) Source #
Instances
(STraversable t, SMonoid m) => SingI (FoldMapDefaultSym0 :: TyFun (a ~> m) (t a ~> m) -> Type) Source # | |
Defined in Data.Traversable.Singletons | |
SuppressUnusedWarnings (FoldMapDefaultSym0 :: TyFun (a ~> m) (t a ~> m) -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (FoldMapDefaultSym0 :: TyFun (a ~> m) (t a ~> m) -> Type) (a6989586621680728681 :: a ~> m) Source # | |
Defined in Data.Traversable.Singletons type Apply (FoldMapDefaultSym0 :: TyFun (a ~> m) (t a ~> m) -> Type) (a6989586621680728681 :: a ~> m) = FoldMapDefaultSym1 a6989586621680728681 :: TyFun (t a) m -> Type |
data FoldMapDefaultSym1 (a6989586621680728681 :: (~>) a m) :: (~>) (t a) m Source #
Instances
(STraversable t, SMonoid m, SingI d) => SingI (FoldMapDefaultSym1 d :: TyFun (t a) m -> Type) Source # | |
Defined in Data.Traversable.Singletons sing :: Sing (FoldMapDefaultSym1 d) # | |
SuppressUnusedWarnings (FoldMapDefaultSym1 a6989586621680728681 :: TyFun (t a) m -> Type) Source # | |
Defined in Data.Traversable.Singletons suppressUnusedWarnings :: () # | |
type Apply (FoldMapDefaultSym1 a6989586621680728681 :: TyFun (t a) m -> Type) (a6989586621680728682 :: t a) Source # | |
Defined in Data.Traversable.Singletons type Apply (FoldMapDefaultSym1 a6989586621680728681 :: TyFun (t a) m -> Type) (a6989586621680728682 :: t a) = FoldMapDefault a6989586621680728681 a6989586621680728682 |
type family FoldMapDefaultSym2 (a6989586621680728681 :: (~>) a m) (a6989586621680728682 :: t a) :: m where ... Source #
FoldMapDefaultSym2 a6989586621680728681 a6989586621680728682 = FoldMapDefault a6989586621680728681 a6989586621680728682 |