singletons-2.5.1: 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 a6989586621679536044 b6989586621679536045 f6989586621679536043. (~>) ((~>) a6989586621679536044 b6989586621679536045) ((~>) (f6989586621679536043 a6989586621679536044) (f6989586621679536043 b6989586621679536045))
  • data FmapSym1 (arg6989586621679536437 :: (~>) a6989586621679536044 b6989586621679536045) :: forall f6989586621679536043. (~>) (f6989586621679536043 a6989586621679536044) (f6989586621679536043 b6989586621679536045)
  • type FmapSym2 (arg6989586621679536437 :: (~>) a6989586621679536044 b6989586621679536045) (arg6989586621679536438 :: f6989586621679536043 a6989586621679536044) = Fmap arg6989586621679536437 arg6989586621679536438
  • data (<$@#@$) :: forall a6989586621679536046 b6989586621679536047 f6989586621679536043. (~>) a6989586621679536046 ((~>) (f6989586621679536043 b6989586621679536047) (f6989586621679536043 a6989586621679536046))
  • data (<$@#@$$) (arg6989586621679536441 :: a6989586621679536046) :: forall b6989586621679536047 f6989586621679536043. (~>) (f6989586621679536043 b6989586621679536047) (f6989586621679536043 a6989586621679536046)
  • type (<$@#@$$$) (arg6989586621679536441 :: a6989586621679536046) (arg6989586621679536442 :: f6989586621679536043 b6989586621679536047) = (<$) arg6989586621679536441 arg6989586621679536442
  • data ($>@#@$) :: forall a6989586621679705373 b6989586621679705374 f6989586621679705372. (~>) (f6989586621679705372 a6989586621679705373) ((~>) b6989586621679705374 (f6989586621679705372 b6989586621679705374))
  • data ($>@#@$$) (a6989586621679705449 :: f6989586621679705372 a6989586621679705373) :: forall b6989586621679705374. (~>) b6989586621679705374 (f6989586621679705372 b6989586621679705374)
  • type ($>@#@$$$) (a6989586621679705449 :: f6989586621679705372 a6989586621679705373) (a6989586621679705450 :: b6989586621679705374) = ($>) a6989586621679705449 a6989586621679705450
  • data (<$>@#@$) :: forall a6989586621679705379 b6989586621679705380 f6989586621679705378. (~>) ((~>) a6989586621679705379 b6989586621679705380) ((~>) (f6989586621679705378 a6989586621679705379) (f6989586621679705378 b6989586621679705380))
  • data (<$>@#@$$) (a6989586621679705459 :: (~>) a6989586621679705379 b6989586621679705380) :: forall f6989586621679705378. (~>) (f6989586621679705378 a6989586621679705379) (f6989586621679705378 b6989586621679705380)
  • type (<$>@#@$$$) (a6989586621679705459 :: (~>) a6989586621679705379 b6989586621679705380) (a6989586621679705460 :: f6989586621679705378 a6989586621679705379) = (<$>) a6989586621679705459 a6989586621679705460
  • data (<&>@#@$) :: forall a6989586621679705376 b6989586621679705377 f6989586621679705375. (~>) (f6989586621679705375 a6989586621679705376) ((~>) ((~>) a6989586621679705376 b6989586621679705377) (f6989586621679705375 b6989586621679705377))
  • data (<&>@#@$$) (a6989586621679705465 :: f6989586621679705375 a6989586621679705376) :: forall b6989586621679705377. (~>) ((~>) a6989586621679705376 b6989586621679705377) (f6989586621679705375 b6989586621679705377)
  • type (<&>@#@$$$) (a6989586621679705465 :: f6989586621679705375 a6989586621679705376) (a6989586621679705466 :: (~>) a6989586621679705376 b6989586621679705377) = (<&>) a6989586621679705465 a6989586621679705466
  • data VoidSym0 :: forall a6989586621679705371 f6989586621679705370. (~>) (f6989586621679705370 a6989586621679705371) (f6989586621679705370 ())
  • type VoidSym1 (a6989586621679705442 :: f6989586621679705370 a6989586621679705371) = Void a6989586621679705442

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_6989586621679536457Sym0 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_6989586621679705445 $> a_6989586621679705447 = Apply (Apply (Apply FlipSym0 (<$@#@$)) a_6989586621679705445) a_6989586621679705447 

(%$>) :: 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_6989586621679705455 <$> a_6989586621679705457 = Apply (Apply FmapSym0 a_6989586621679705455) a_6989586621679705457 

(%<$>) :: 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 a6989586621679536044 b6989586621679536045 f6989586621679536043. (~>) ((~>) a6989586621679536044 b6989586621679536045) ((~>) (f6989586621679536043 a6989586621679536044) (f6989586621679536043 b6989586621679536045)) 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 (a6989586621679536044 ~> b6989586621679536045) (f6989586621679536043 a6989586621679536044 ~> f6989586621679536043 b6989586621679536045) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply (FmapSym0 :: TyFun (a6989586621679536044 ~> b6989586621679536045) (f6989586621679536043 a6989586621679536044 ~> f6989586621679536043 b6989586621679536045) -> Type) (arg6989586621679536437 :: a6989586621679536044 ~> b6989586621679536045) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply (FmapSym0 :: TyFun (a6989586621679536044 ~> b6989586621679536045) (f6989586621679536043 a6989586621679536044 ~> f6989586621679536043 b6989586621679536045) -> Type) (arg6989586621679536437 :: a6989586621679536044 ~> b6989586621679536045) = (FmapSym1 arg6989586621679536437 f6989586621679536043 :: TyFun (f6989586621679536043 a6989586621679536044) (f6989586621679536043 b6989586621679536045) -> Type)

data FmapSym1 (arg6989586621679536437 :: (~>) a6989586621679536044 b6989586621679536045) :: forall f6989586621679536043. (~>) (f6989586621679536043 a6989586621679536044) (f6989586621679536043 b6989586621679536045) 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 arg6989586621679536437 f6989586621679536043 :: TyFun (f6989586621679536043 a6989586621679536044) (f6989586621679536043 b6989586621679536045) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

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

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply (FmapSym1 arg6989586621679536437 f :: TyFun (f a) (f b) -> Type) (arg6989586621679536438 :: f a) = Fmap arg6989586621679536437 arg6989586621679536438

type FmapSym2 (arg6989586621679536437 :: (~>) a6989586621679536044 b6989586621679536045) (arg6989586621679536438 :: f6989586621679536043 a6989586621679536044) = Fmap arg6989586621679536437 arg6989586621679536438 Source #

data (<$@#@$) :: forall a6989586621679536046 b6989586621679536047 f6989586621679536043. (~>) a6989586621679536046 ((~>) (f6989586621679536043 b6989586621679536047) (f6989586621679536043 a6989586621679536046)) 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 a6989586621679536046 (f6989586621679536043 b6989586621679536047 ~> f6989586621679536043 a6989586621679536046) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply ((<$@#@$) :: TyFun a6989586621679536046 (f6989586621679536043 b6989586621679536047 ~> f6989586621679536043 a6989586621679536046) -> Type) (arg6989586621679536441 :: a6989586621679536046) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

type Apply ((<$@#@$) :: TyFun a6989586621679536046 (f6989586621679536043 b6989586621679536047 ~> f6989586621679536043 a6989586621679536046) -> Type) (arg6989586621679536441 :: a6989586621679536046) = ((arg6989586621679536441 <$@#@$$ b6989586621679536047) f6989586621679536043 :: TyFun (f6989586621679536043 b6989586621679536047) (f6989586621679536043 a6989586621679536046) -> Type)

data (<$@#@$$) (arg6989586621679536441 :: a6989586621679536046) :: forall b6989586621679536047 f6989586621679536043. (~>) (f6989586621679536043 b6989586621679536047) (f6989586621679536043 a6989586621679536046) 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 ((arg6989586621679536441 <$@#@$$ b6989586621679536047) f6989586621679536043 :: TyFun (f6989586621679536043 b6989586621679536047) (f6989586621679536043 a6989586621679536046) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Monad.Internal

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

Defined in Data.Singletons.Prelude.Monad.Internal

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

type (<$@#@$$$) (arg6989586621679536441 :: a6989586621679536046) (arg6989586621679536442 :: f6989586621679536043 b6989586621679536047) = (<$) arg6989586621679536441 arg6989586621679536442 Source #

data ($>@#@$) :: forall a6989586621679705373 b6989586621679705374 f6989586621679705372. (~>) (f6989586621679705372 a6989586621679705373) ((~>) b6989586621679705374 (f6989586621679705372 b6989586621679705374)) 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 (f6989586621679705372 a6989586621679705373) (b6989586621679705374 ~> f6989586621679705372 b6989586621679705374) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply (($>@#@$) :: TyFun (f6989586621679705372 a6989586621679705373) (b6989586621679705374 ~> f6989586621679705372 b6989586621679705374) -> Type) (a6989586621679705449 :: f6989586621679705372 a6989586621679705373) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply (($>@#@$) :: TyFun (f6989586621679705372 a6989586621679705373) (b6989586621679705374 ~> f6989586621679705372 b6989586621679705374) -> Type) (a6989586621679705449 :: f6989586621679705372 a6989586621679705373) = (a6989586621679705449 $>@#@$$ b6989586621679705374 :: TyFun b6989586621679705374 (f6989586621679705372 b6989586621679705374) -> Type)

data ($>@#@$$) (a6989586621679705449 :: f6989586621679705372 a6989586621679705373) :: forall b6989586621679705374. (~>) b6989586621679705374 (f6989586621679705372 b6989586621679705374) 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 (a6989586621679705449 $>@#@$$ b6989586621679705374 :: TyFun b6989586621679705374 (f6989586621679705372 b6989586621679705374) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

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

Defined in Data.Singletons.Prelude.Functor

type Apply (a6989586621679705449 $>@#@$$ b :: TyFun b (f b) -> Type) (a6989586621679705450 :: b) = a6989586621679705449 $> a6989586621679705450

type ($>@#@$$$) (a6989586621679705449 :: f6989586621679705372 a6989586621679705373) (a6989586621679705450 :: b6989586621679705374) = ($>) a6989586621679705449 a6989586621679705450 Source #

data (<$>@#@$) :: forall a6989586621679705379 b6989586621679705380 f6989586621679705378. (~>) ((~>) a6989586621679705379 b6989586621679705380) ((~>) (f6989586621679705378 a6989586621679705379) (f6989586621679705378 b6989586621679705380)) 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 (a6989586621679705379 ~> b6989586621679705380) (f6989586621679705378 a6989586621679705379 ~> f6989586621679705378 b6989586621679705380) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply ((<$>@#@$) :: TyFun (a6989586621679705379 ~> b6989586621679705380) (f6989586621679705378 a6989586621679705379 ~> f6989586621679705378 b6989586621679705380) -> Type) (a6989586621679705459 :: a6989586621679705379 ~> b6989586621679705380) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply ((<$>@#@$) :: TyFun (a6989586621679705379 ~> b6989586621679705380) (f6989586621679705378 a6989586621679705379 ~> f6989586621679705378 b6989586621679705380) -> Type) (a6989586621679705459 :: a6989586621679705379 ~> b6989586621679705380) = (a6989586621679705459 <$>@#@$$ f6989586621679705378 :: TyFun (f6989586621679705378 a6989586621679705379) (f6989586621679705378 b6989586621679705380) -> Type)

data (<$>@#@$$) (a6989586621679705459 :: (~>) a6989586621679705379 b6989586621679705380) :: forall f6989586621679705378. (~>) (f6989586621679705378 a6989586621679705379) (f6989586621679705378 b6989586621679705380) 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 (a6989586621679705459 <$>@#@$$ f6989586621679705378 :: TyFun (f6989586621679705378 a6989586621679705379) (f6989586621679705378 b6989586621679705380) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

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

Defined in Data.Singletons.Prelude.Functor

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

type (<$>@#@$$$) (a6989586621679705459 :: (~>) a6989586621679705379 b6989586621679705380) (a6989586621679705460 :: f6989586621679705378 a6989586621679705379) = (<$>) a6989586621679705459 a6989586621679705460 Source #

data (<&>@#@$) :: forall a6989586621679705376 b6989586621679705377 f6989586621679705375. (~>) (f6989586621679705375 a6989586621679705376) ((~>) ((~>) a6989586621679705376 b6989586621679705377) (f6989586621679705375 b6989586621679705377)) 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 (f6989586621679705375 a6989586621679705376) ((a6989586621679705376 ~> b6989586621679705377) ~> f6989586621679705375 b6989586621679705377) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply ((<&>@#@$) :: TyFun (f6989586621679705375 a6989586621679705376) ((a6989586621679705376 ~> b6989586621679705377) ~> f6989586621679705375 b6989586621679705377) -> Type) (a6989586621679705465 :: f6989586621679705375 a6989586621679705376) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

type Apply ((<&>@#@$) :: TyFun (f6989586621679705375 a6989586621679705376) ((a6989586621679705376 ~> b6989586621679705377) ~> f6989586621679705375 b6989586621679705377) -> Type) (a6989586621679705465 :: f6989586621679705375 a6989586621679705376) = (a6989586621679705465 <&>@#@$$ b6989586621679705377 :: TyFun (a6989586621679705376 ~> b6989586621679705377) (f6989586621679705375 b6989586621679705377) -> Type)

data (<&>@#@$$) (a6989586621679705465 :: f6989586621679705375 a6989586621679705376) :: forall b6989586621679705377. (~>) ((~>) a6989586621679705376 b6989586621679705377) (f6989586621679705375 b6989586621679705377) 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 (a6989586621679705465 <&>@#@$$ b6989586621679705377 :: TyFun (a6989586621679705376 ~> b6989586621679705377) (f6989586621679705375 b6989586621679705377) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

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

Defined in Data.Singletons.Prelude.Functor

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

type (<&>@#@$$$) (a6989586621679705465 :: f6989586621679705375 a6989586621679705376) (a6989586621679705466 :: (~>) a6989586621679705376 b6989586621679705377) = (<&>) a6989586621679705465 a6989586621679705466 Source #

data VoidSym0 :: forall a6989586621679705371 f6989586621679705370. (~>) (f6989586621679705370 a6989586621679705371) (f6989586621679705370 ()) Source #

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

Defined in Data.Singletons.Prelude.Functor

SuppressUnusedWarnings (VoidSym0 :: TyFun (f6989586621679705370 a6989586621679705371) (f6989586621679705370 ()) -> Type) Source # 
Instance details

Defined in Data.Singletons.Prelude.Functor

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

Defined in Data.Singletons.Prelude.Functor

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

type VoidSym1 (a6989586621679705442 :: f6989586621679705370 a6989586621679705371) = Void a6989586621679705442 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 #