singletons-2.5: A framework for generating singleton types

Copyright(C) 2018 Ryan Scott
LicenseBSD-style (see LICENSE)
MaintainerRyan Scott
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Data.Singletons.Prelude.Functor

Contents

Description

Defines the promoted and singled versions of the Functor type class.

Synopsis
  • class PFunctor (f :: Type -> Type) where
    • type Fmap (arg :: (~>) a b) (arg :: f a) :: f b
    • type (arg :: a) <$ (arg :: f b) :: f a
  • class SFunctor (f :: Type -> Type) where
  • type family (a :: f a) $> (a :: b) :: f b where ...
  • (%$>) :: forall f a b (t :: f a) (t :: b). SFunctor f => Sing t -> Sing t -> Sing (Apply (Apply ($>@#@$) t) t :: f b)
  • type family (a :: (~>) a b) <$> (a :: f a) :: f b where ...
  • (%<$>) :: forall f a b (t :: (~>) a b) (t :: f a). SFunctor f => Sing t -> Sing t -> Sing (Apply (Apply (<$>@#@$) t) t :: f b)
  • type family (a :: f a) <&> (a :: (~>) a b) :: f b where ...
  • (%<&>) :: forall f a b (t :: f a) (t :: (~>) a b). SFunctor f => Sing t -> Sing t -> Sing (Apply (Apply (<&>@#@$) t) t :: f b)
  • type family Void (a :: f a) :: f () where ...
  • sVoid :: forall f a (t :: f a). SFunctor f => Sing t -> Sing (Apply VoidSym0 t :: f ())
  • data FmapSym0 :: forall a6989586621679545127 b6989586621679545128 f6989586621679545126. (~>) ((~>) a6989586621679545127 b6989586621679545128) ((~>) (f6989586621679545126 a6989586621679545127) (f6989586621679545126 b6989586621679545128))
  • data FmapSym1 (arg6989586621679545520 :: (~>) a6989586621679545127 b6989586621679545128) :: forall f6989586621679545126. (~>) (f6989586621679545126 a6989586621679545127) (f6989586621679545126 b6989586621679545128)
  • type FmapSym2 (arg6989586621679545520 :: (~>) a6989586621679545127 b6989586621679545128) (arg6989586621679545521 :: f6989586621679545126 a6989586621679545127) = Fmap arg6989586621679545520 arg6989586621679545521
  • data (<$@#@$) :: forall a6989586621679545129 b6989586621679545130 f6989586621679545126. (~>) a6989586621679545129 ((~>) (f6989586621679545126 b6989586621679545130) (f6989586621679545126 a6989586621679545129))
  • data (<$@#@$$) (arg6989586621679545524 :: a6989586621679545129) :: forall b6989586621679545130 f6989586621679545126. (~>) (f6989586621679545126 b6989586621679545130) (f6989586621679545126 a6989586621679545129)
  • type (<$@#@$$$) (arg6989586621679545524 :: a6989586621679545129) (arg6989586621679545525 :: f6989586621679545126 b6989586621679545130) = (<$) arg6989586621679545524 arg6989586621679545525
  • data ($>@#@$) :: forall a6989586621679714512 b6989586621679714513 f6989586621679714511. (~>) (f6989586621679714511 a6989586621679714512) ((~>) b6989586621679714513 (f6989586621679714511 b6989586621679714513))
  • data ($>@#@$$) (a6989586621679714588 :: f6989586621679714511 a6989586621679714512) :: forall b6989586621679714513. (~>) b6989586621679714513 (f6989586621679714511 b6989586621679714513)
  • type ($>@#@$$$) (a6989586621679714588 :: f6989586621679714511 a6989586621679714512) (a6989586621679714589 :: b6989586621679714513) = ($>) a6989586621679714588 a6989586621679714589
  • data (<$>@#@$) :: forall a6989586621679714518 b6989586621679714519 f6989586621679714517. (~>) ((~>) a6989586621679714518 b6989586621679714519) ((~>) (f6989586621679714517 a6989586621679714518) (f6989586621679714517 b6989586621679714519))
  • data (<$>@#@$$) (a6989586621679714598 :: (~>) a6989586621679714518 b6989586621679714519) :: forall f6989586621679714517. (~>) (f6989586621679714517 a6989586621679714518) (f6989586621679714517 b6989586621679714519)
  • type (<$>@#@$$$) (a6989586621679714598 :: (~>) a6989586621679714518 b6989586621679714519) (a6989586621679714599 :: f6989586621679714517 a6989586621679714518) = (<$>) a6989586621679714598 a6989586621679714599
  • data (<&>@#@$) :: forall a6989586621679714515 b6989586621679714516 f6989586621679714514. (~>) (f6989586621679714514 a6989586621679714515) ((~>) ((~>) a6989586621679714515 b6989586621679714516) (f6989586621679714514 b6989586621679714516))
  • data (<&>@#@$$) (a6989586621679714604 :: f6989586621679714514 a6989586621679714515) :: forall b6989586621679714516. (~>) ((~>) a6989586621679714515 b6989586621679714516) (f6989586621679714514 b6989586621679714516)
  • type (<&>@#@$$$) (a6989586621679714604 :: f6989586621679714514 a6989586621679714515) (a6989586621679714605 :: (~>) a6989586621679714515 b6989586621679714516) = (<&>) a6989586621679714604 a6989586621679714605
  • data VoidSym0 :: forall a6989586621679714510 f6989586621679714509. (~>) (f6989586621679714509 a6989586621679714510) (f6989586621679714509 ())
  • type VoidSym1 (a6989586621679714581 :: f6989586621679714509 a6989586621679714510) = Void a6989586621679714581

Documentation

class PFunctor (f :: Type -> Type) Source #

Associated Types

type Fmap (arg :: (~>) a b) (arg :: f a) :: f b Source #

type (arg :: a) <$ (arg :: f b) :: f a infixl 4 Source #

Instances
PFunctor [] Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor Maybe Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor Min Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor Max Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor First Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor Last Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor Option Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor Identity Source # 
Instance details

Defined in Data.Singletons.Prelude.Identity

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor First Source # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor Last Source # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor Dual Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor Sum Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor Product Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor Down Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor NonEmpty Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor (Either a) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor ((,) a) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor (Arg a) Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

PFunctor (Const m :: Type -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Const

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

class SFunctor (f :: Type -> Type) where Source #

Minimal complete definition

sFmap

Methods

sFmap :: forall a b (t :: (~>) a b) (t :: f a). Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t :: f b) Source #

(%<$) :: forall a b (t :: a) (t :: f b). Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t :: f a) infixl 4 Source #

(%<$) :: forall a b (t :: a) (t :: f b). (Apply (Apply (<$@#@$) t) t :: f a) ~ Apply (Apply TFHelper_6989586621679545540Sym0 t) t => Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t :: f a) infixl 4 Source #

Instances
SFunctor [] Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor Maybe Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor Min Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor Max Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor First Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor Last Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor Option Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor Identity Source # 
Instance details

Defined in Data.Singletons.Prelude.Identity

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor First Source # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor Last Source # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor Dual Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor Sum Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor Product Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor Down Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor NonEmpty Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor (Either a) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor ((,) a) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor (Arg a) Source # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

SFunctor (Const m :: Type -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Const

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

type family (a :: f a) $> (a :: b) :: f b where ... infixl 4 Source #

Equations

a_6989586621679714584 $> a_6989586621679714586 = Apply (Apply (Apply FlipSym0 (<$@#@$)) a_6989586621679714584) a_6989586621679714586 

(%$>) :: forall f a b (t :: f a) (t :: b). SFunctor f => Sing t -> Sing t -> Sing (Apply (Apply ($>@#@$) t) t :: f b) infixl 4 Source #

type family (a :: (~>) a b) <$> (a :: f a) :: f b where ... infixl 4 Source #

Equations

a_6989586621679714594 <$> a_6989586621679714596 = Apply (Apply FmapSym0 a_6989586621679714594) a_6989586621679714596 

(%<$>) :: forall f a b (t :: (~>) a b) (t :: f a). SFunctor f => Sing t -> Sing t -> Sing (Apply (Apply (<$>@#@$) t) t :: f b) infixl 4 Source #

type family (a :: f a) <&> (a :: (~>) a b) :: f b where ... infixl 1 Source #

Equations

as <&> f = Apply (Apply (<$>@#@$) f) as 

(%<&>) :: forall f a b (t :: f a) (t :: (~>) a b). SFunctor f => Sing t -> Sing t -> Sing (Apply (Apply (<&>@#@$) t) t :: f b) infixl 1 Source #

type family Void (a :: f a) :: f () where ... Source #

Equations

Void x = Apply (Apply (<$@#@$) Tuple0Sym0) x 

sVoid :: forall f a (t :: f a). SFunctor f => Sing t -> Sing (Apply VoidSym0 t :: f ()) Source #

Defunctionalization symbols

data FmapSym0 :: forall a6989586621679545127 b6989586621679545128 f6989586621679545126. (~>) ((~>) a6989586621679545127 b6989586621679545128) ((~>) (f6989586621679545126 a6989586621679545127) (f6989586621679545126 b6989586621679545128)) Source #

Instances
SFunctor f => SingI (FmapSym0 :: TyFun (a ~> b) (f a ~> f b) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

SuppressUnusedWarnings (FmapSym0 :: TyFun (a6989586621679545127 ~> b6989586621679545128) (f6989586621679545126 a6989586621679545127 ~> f6989586621679545126 b6989586621679545128) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply (FmapSym0 :: TyFun (a6989586621679545127 ~> b6989586621679545128) (f6989586621679545126 a6989586621679545127 ~> f6989586621679545126 b6989586621679545128) -> Type) (arg6989586621679545520 :: a6989586621679545127 ~> b6989586621679545128) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply (FmapSym0 :: TyFun (a6989586621679545127 ~> b6989586621679545128) (f6989586621679545126 a6989586621679545127 ~> f6989586621679545126 b6989586621679545128) -> Type) (arg6989586621679545520 :: a6989586621679545127 ~> b6989586621679545128) = (FmapSym1 arg6989586621679545520 f6989586621679545126 :: TyFun (f6989586621679545126 a6989586621679545127) (f6989586621679545126 b6989586621679545128) -> Type)

data FmapSym1 (arg6989586621679545520 :: (~>) a6989586621679545127 b6989586621679545128) :: forall f6989586621679545126. (~>) (f6989586621679545126 a6989586621679545127) (f6989586621679545126 b6989586621679545128) Source #

Instances
(SFunctor f, SingI d) => SingI (FmapSym1 d f :: TyFun (f a) (f b) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

Methods

sing :: Sing (FmapSym1 d f) Source #

SuppressUnusedWarnings (FmapSym1 arg6989586621679545520 f6989586621679545126 :: TyFun (f6989586621679545126 a6989586621679545127) (f6989586621679545126 b6989586621679545128) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply (FmapSym1 arg6989586621679545520 f :: TyFun (f a) (f b) -> Type) (arg6989586621679545521 :: f a) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply (FmapSym1 arg6989586621679545520 f :: TyFun (f a) (f b) -> Type) (arg6989586621679545521 :: f a) = Fmap arg6989586621679545520 arg6989586621679545521

type FmapSym2 (arg6989586621679545520 :: (~>) a6989586621679545127 b6989586621679545128) (arg6989586621679545521 :: f6989586621679545126 a6989586621679545127) = Fmap arg6989586621679545520 arg6989586621679545521 Source #

data (<$@#@$) :: forall a6989586621679545129 b6989586621679545130 f6989586621679545126. (~>) a6989586621679545129 ((~>) (f6989586621679545126 b6989586621679545130) (f6989586621679545126 a6989586621679545129)) infixl 4 Source #

Instances
SFunctor f => SingI ((<$@#@$) :: TyFun a (f b ~> f a) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

SuppressUnusedWarnings ((<$@#@$) :: TyFun a6989586621679545129 (f6989586621679545126 b6989586621679545130 ~> f6989586621679545126 a6989586621679545129) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply ((<$@#@$) :: TyFun a6989586621679545129 (f6989586621679545126 b6989586621679545130 ~> f6989586621679545126 a6989586621679545129) -> Type) (arg6989586621679545524 :: a6989586621679545129) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply ((<$@#@$) :: TyFun a6989586621679545129 (f6989586621679545126 b6989586621679545130 ~> f6989586621679545126 a6989586621679545129) -> Type) (arg6989586621679545524 :: a6989586621679545129) = ((arg6989586621679545524 <$@#@$$ b6989586621679545130) f6989586621679545126 :: TyFun (f6989586621679545126 b6989586621679545130) (f6989586621679545126 a6989586621679545129) -> Type)

data (<$@#@$$) (arg6989586621679545524 :: a6989586621679545129) :: forall b6989586621679545130 f6989586621679545126. (~>) (f6989586621679545126 b6989586621679545130) (f6989586621679545126 a6989586621679545129) infixl 4 Source #

Instances
(SFunctor f, SingI d) => SingI ((d <$@#@$$ b) f :: TyFun (f b) (f a) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

Methods

sing :: Sing ((d <$@#@$$ b) f) Source #

SuppressUnusedWarnings ((arg6989586621679545524 <$@#@$$ b6989586621679545130) f6989586621679545126 :: TyFun (f6989586621679545126 b6989586621679545130) (f6989586621679545126 a6989586621679545129) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply ((arg6989586621679545524 <$@#@$$ b) f :: TyFun (f b) (f a) -> Type) (arg6989586621679545525 :: f b) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply ((arg6989586621679545524 <$@#@$$ b) f :: TyFun (f b) (f a) -> Type) (arg6989586621679545525 :: f b) = arg6989586621679545524 <$ arg6989586621679545525

type (<$@#@$$$) (arg6989586621679545524 :: a6989586621679545129) (arg6989586621679545525 :: f6989586621679545126 b6989586621679545130) = (<$) arg6989586621679545524 arg6989586621679545525 Source #

data ($>@#@$) :: forall a6989586621679714512 b6989586621679714513 f6989586621679714511. (~>) (f6989586621679714511 a6989586621679714512) ((~>) b6989586621679714513 (f6989586621679714511 b6989586621679714513)) infixl 4 Source #

Instances
SFunctor f => SingI (($>@#@$) :: TyFun (f a) (b ~> f b) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

SuppressUnusedWarnings (($>@#@$) :: TyFun (f6989586621679714511 a6989586621679714512) (b6989586621679714513 ~> f6989586621679714511 b6989586621679714513) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply (($>@#@$) :: TyFun (f6989586621679714511 a6989586621679714512) (b6989586621679714513 ~> f6989586621679714511 b6989586621679714513) -> Type) (a6989586621679714588 :: f6989586621679714511 a6989586621679714512) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply (($>@#@$) :: TyFun (f6989586621679714511 a6989586621679714512) (b6989586621679714513 ~> f6989586621679714511 b6989586621679714513) -> Type) (a6989586621679714588 :: f6989586621679714511 a6989586621679714512) = (a6989586621679714588 $>@#@$$ b6989586621679714513 :: TyFun b6989586621679714513 (f6989586621679714511 b6989586621679714513) -> Type)

data ($>@#@$$) (a6989586621679714588 :: f6989586621679714511 a6989586621679714512) :: forall b6989586621679714513. (~>) b6989586621679714513 (f6989586621679714511 b6989586621679714513) infixl 4 Source #

Instances
(SFunctor f, SingI d) => SingI (d $>@#@$$ b :: TyFun b (f b) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

Methods

sing :: Sing (d $>@#@$$ b) Source #

SuppressUnusedWarnings (a6989586621679714588 $>@#@$$ b6989586621679714513 :: TyFun b6989586621679714513 (f6989586621679714511 b6989586621679714513) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply (a6989586621679714588 $>@#@$$ b :: TyFun b (f b) -> Type) (a6989586621679714589 :: b) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply (a6989586621679714588 $>@#@$$ b :: TyFun b (f b) -> Type) (a6989586621679714589 :: b) = a6989586621679714588 $> a6989586621679714589

type ($>@#@$$$) (a6989586621679714588 :: f6989586621679714511 a6989586621679714512) (a6989586621679714589 :: b6989586621679714513) = ($>) a6989586621679714588 a6989586621679714589 Source #

data (<$>@#@$) :: forall a6989586621679714518 b6989586621679714519 f6989586621679714517. (~>) ((~>) a6989586621679714518 b6989586621679714519) ((~>) (f6989586621679714517 a6989586621679714518) (f6989586621679714517 b6989586621679714519)) infixl 4 Source #

Instances
SFunctor f => SingI ((<$>@#@$) :: TyFun (a ~> b) (f a ~> f b) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

SuppressUnusedWarnings ((<$>@#@$) :: TyFun (a6989586621679714518 ~> b6989586621679714519) (f6989586621679714517 a6989586621679714518 ~> f6989586621679714517 b6989586621679714519) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply ((<$>@#@$) :: TyFun (a6989586621679714518 ~> b6989586621679714519) (f6989586621679714517 a6989586621679714518 ~> f6989586621679714517 b6989586621679714519) -> Type) (a6989586621679714598 :: a6989586621679714518 ~> b6989586621679714519) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply ((<$>@#@$) :: TyFun (a6989586621679714518 ~> b6989586621679714519) (f6989586621679714517 a6989586621679714518 ~> f6989586621679714517 b6989586621679714519) -> Type) (a6989586621679714598 :: a6989586621679714518 ~> b6989586621679714519) = (a6989586621679714598 <$>@#@$$ f6989586621679714517 :: TyFun (f6989586621679714517 a6989586621679714518) (f6989586621679714517 b6989586621679714519) -> Type)

data (<$>@#@$$) (a6989586621679714598 :: (~>) a6989586621679714518 b6989586621679714519) :: forall f6989586621679714517. (~>) (f6989586621679714517 a6989586621679714518) (f6989586621679714517 b6989586621679714519) infixl 4 Source #

Instances
(SFunctor f, SingI d) => SingI (d <$>@#@$$ f :: TyFun (f a) (f b) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

Methods

sing :: Sing (d <$>@#@$$ f) Source #

SuppressUnusedWarnings (a6989586621679714598 <$>@#@$$ f6989586621679714517 :: TyFun (f6989586621679714517 a6989586621679714518) (f6989586621679714517 b6989586621679714519) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply (a6989586621679714598 <$>@#@$$ f :: TyFun (f a) (f b) -> Type) (a6989586621679714599 :: f a) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply (a6989586621679714598 <$>@#@$$ f :: TyFun (f a) (f b) -> Type) (a6989586621679714599 :: f a) = a6989586621679714598 <$> a6989586621679714599

type (<$>@#@$$$) (a6989586621679714598 :: (~>) a6989586621679714518 b6989586621679714519) (a6989586621679714599 :: f6989586621679714517 a6989586621679714518) = (<$>) a6989586621679714598 a6989586621679714599 Source #

data (<&>@#@$) :: forall a6989586621679714515 b6989586621679714516 f6989586621679714514. (~>) (f6989586621679714514 a6989586621679714515) ((~>) ((~>) a6989586621679714515 b6989586621679714516) (f6989586621679714514 b6989586621679714516)) infixl 1 Source #

Instances
SFunctor f => SingI ((<&>@#@$) :: TyFun (f a) ((a ~> b) ~> f b) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

SuppressUnusedWarnings ((<&>@#@$) :: TyFun (f6989586621679714514 a6989586621679714515) ((a6989586621679714515 ~> b6989586621679714516) ~> f6989586621679714514 b6989586621679714516) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply ((<&>@#@$) :: TyFun (f6989586621679714514 a6989586621679714515) ((a6989586621679714515 ~> b6989586621679714516) ~> f6989586621679714514 b6989586621679714516) -> Type) (a6989586621679714604 :: f6989586621679714514 a6989586621679714515) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply ((<&>@#@$) :: TyFun (f6989586621679714514 a6989586621679714515) ((a6989586621679714515 ~> b6989586621679714516) ~> f6989586621679714514 b6989586621679714516) -> Type) (a6989586621679714604 :: f6989586621679714514 a6989586621679714515) = (a6989586621679714604 <&>@#@$$ b6989586621679714516 :: TyFun (a6989586621679714515 ~> b6989586621679714516) (f6989586621679714514 b6989586621679714516) -> Type)

data (<&>@#@$$) (a6989586621679714604 :: f6989586621679714514 a6989586621679714515) :: forall b6989586621679714516. (~>) ((~>) a6989586621679714515 b6989586621679714516) (f6989586621679714514 b6989586621679714516) infixl 1 Source #

Instances
(SFunctor f, SingI d) => SingI (d <&>@#@$$ b :: TyFun (a ~> b) (f b) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

Methods

sing :: Sing (d <&>@#@$$ b) Source #

SuppressUnusedWarnings (a6989586621679714604 <&>@#@$$ b6989586621679714516 :: TyFun (a6989586621679714515 ~> b6989586621679714516) (f6989586621679714514 b6989586621679714516) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply (a6989586621679714604 <&>@#@$$ b :: TyFun (a ~> b) (f b) -> Type) (a6989586621679714605 :: a ~> b) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply (a6989586621679714604 <&>@#@$$ b :: TyFun (a ~> b) (f b) -> Type) (a6989586621679714605 :: a ~> b) = a6989586621679714604 <&> a6989586621679714605

type (<&>@#@$$$) (a6989586621679714604 :: f6989586621679714514 a6989586621679714515) (a6989586621679714605 :: (~>) a6989586621679714515 b6989586621679714516) = (<&>) a6989586621679714604 a6989586621679714605 Source #

data VoidSym0 :: forall a6989586621679714510 f6989586621679714509. (~>) (f6989586621679714509 a6989586621679714510) (f6989586621679714509 ()) Source #

Instances
SFunctor f => SingI (VoidSym0 :: TyFun (f a) (f ()) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

SuppressUnusedWarnings (VoidSym0 :: TyFun (f6989586621679714509 a6989586621679714510) (f6989586621679714509 ()) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply (VoidSym0 :: TyFun (f a) (f ()) -> Type) (a6989586621679714581 :: f a) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply (VoidSym0 :: TyFun (f a) (f ()) -> Type) (a6989586621679714581 :: f a) = Void a6989586621679714581

type VoidSym1 (a6989586621679714581 :: f6989586621679714509 a6989586621679714510) = Void a6989586621679714581 Source #

Orphan instances

SFunctor Down Source # 
Instance details

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

PFunctor Down Source # 
Instance details

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #

SFunctor ((,) a) Source # 
Instance details

Methods

sFmap :: Sing t -> Sing t -> Sing (Apply (Apply FmapSym0 t) t) Source #

(%<$) :: Sing t -> Sing t -> Sing (Apply (Apply (<$@#@$) t) t) Source #

PFunctor ((,) a) Source # 
Instance details

Associated Types

type Fmap arg arg :: f b Source #

type arg <$ arg :: f a Source #