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.Monoid

Contents

Description

Defines the promoted version of Monoid, PMonoid, and the singleton version, SMonoid.

Synopsis

Documentation

class PSemigroup a => PMonoid (a :: Type) #

Associated Types

type Mempty :: a #

type Mappend (arg :: a) (arg :: a) :: a #

type Mconcat (arg :: [a]) :: a #

Instances
PMonoid Ordering # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid Symbol # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid () # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid All # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid Any # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid [a] # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (Maybe a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (Min a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (Max a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (WrappedMonoid m) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (Option a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (Identity a) # 
Instance details

Defined in Data.Singletons.Prelude.Identity

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (First a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (Last a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (Dual a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (Sum a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (Product a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (Down a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (a, b) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (a ~> b) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (a, b, c) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (Const a b) # 
Instance details

Defined in Data.Singletons.Prelude.Const

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (a, b, c, d) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

PMonoid (a, b, c, d, e) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Associated Types

type Mempty :: a #

type Mappend arg arg :: a #

type Mconcat arg :: a #

class SSemigroup a => SMonoid a where #

Minimal complete definition

sMempty

Methods

sMempty :: Sing (MemptySym0 :: a) #

sMappend :: forall (t :: a) (t :: a). Sing t -> Sing t -> Sing (Apply (Apply MappendSym0 t) t :: a) #

sMconcat :: forall (t :: [a]). Sing t -> Sing (Apply MconcatSym0 t :: a) #

sMappend :: forall (t :: a) (t :: a). (Apply (Apply MappendSym0 t) t :: a) ~ Apply (Apply Mappend_6989586621680361897Sym0 t) t => Sing t -> Sing t -> Sing (Apply (Apply MappendSym0 t) t :: a) #

sMconcat :: forall (t :: [a]). (Apply MconcatSym0 t :: a) ~ Apply Mconcat_6989586621680361907Sym0 t => Sing t -> Sing (Apply MconcatSym0 t :: a) #

Instances
SMonoid Ordering # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SMonoid Symbol # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SMonoid () # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SMonoid All # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SMonoid Any # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SMonoid [a] # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SSemigroup a => SMonoid (Maybe a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

(SOrd a, SBounded a) => SMonoid (Min a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

(SOrd a, SBounded a) => SMonoid (Max a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

SMonoid m => SMonoid (WrappedMonoid m) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

SSemigroup a => SMonoid (Option a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

SMonoid a => SMonoid (Identity a) # 
Instance details

Defined in Data.Singletons.Prelude.Identity

SMonoid (First a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SMonoid (Last a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SMonoid a => SMonoid (Dual a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SNum a => SMonoid (Sum a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SNum a => SMonoid (Product a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SMonoid a => SMonoid (Down a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

(SMonoid a, SMonoid b) => SMonoid (a, b) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SMonoid b => SMonoid (a ~> b) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

(SMonoid a, SMonoid b, SMonoid c) => SMonoid (a, b, c) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SMonoid a => SMonoid (Const a b) # 
Instance details

Defined in Data.Singletons.Prelude.Const

(SMonoid a, SMonoid b, SMonoid c, SMonoid d) => SMonoid (a, b, c, d) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

(SMonoid a, SMonoid b, SMonoid c, SMonoid d, SMonoid e) => SMonoid (a, b, c, d, e) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

data family Sing :: k -> Type #

The singleton kind-indexed data family.

Instances
SDecide k => TestCoercion (Sing :: k -> Type) # 
Instance details

Defined in Data.Singletons.Decide

Methods

testCoercion :: Sing a -> Sing b -> Maybe (Coercion a b) #

SDecide k => TestEquality (Sing :: k -> Type) # 
Instance details

Defined in Data.Singletons.Decide

Methods

testEquality :: Sing a -> Sing b -> Maybe (a :~: b) #

Show (SSymbol s) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> SSymbol s -> ShowS #

show :: SSymbol s -> String #

showList :: [SSymbol s] -> ShowS #

Show (SNat n) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> SNat n -> ShowS #

show :: SNat n -> String #

showList :: [SNat n] -> ShowS #

Eq (Sing a) # 
Instance details

Defined in Data.Singletons.TypeRepTYPE

Methods

(==) :: Sing a -> Sing a -> Bool #

(/=) :: Sing a -> Sing a -> Bool #

Ord (Sing a) # 
Instance details

Defined in Data.Singletons.TypeRepTYPE

Methods

compare :: Sing a -> Sing a -> Ordering #

(<) :: Sing a -> Sing a -> Bool #

(<=) :: Sing a -> Sing a -> Bool #

(>) :: Sing a -> Sing a -> Bool #

(>=) :: Sing a -> Sing a -> Bool #

max :: Sing a -> Sing a -> Sing a #

min :: Sing a -> Sing a -> Sing a #

Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

(ShowSing a, ShowSing [a]) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing a => Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

(ShowSing a, ShowSing b) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

Show (Sing a) # 
Instance details

Defined in Data.Singletons.TypeRepTYPE

Methods

showsPrec :: Int -> Sing a -> ShowS #

show :: Sing a -> String #

showList :: [Sing a] -> ShowS #

Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

(ShowSing a, ShowSing b) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

(ShowSing a, ShowSing b, ShowSing c) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

(ShowSing a, ShowSing b, ShowSing c, ShowSing d) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

(ShowSing a, ShowSing b, ShowSing c, ShowSing d, ShowSing e) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

(ShowSing a, ShowSing b, ShowSing c, ShowSing d, ShowSing e, ShowSing f) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

(ShowSing a, ShowSing b, ShowSing c, ShowSing d, ShowSing e, ShowSing f, ShowSing g) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing a => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing a => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

(ShowSing a, ShowSing b) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing a => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing a => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing m => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing (Maybe a) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing a => Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing (Maybe a) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing (Maybe a) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing a => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing Bool => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing Bool => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing a => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing a => Show (Sing z) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

(ShowSing a, ShowSing [a]) => Show (Sing z) # 
Instance details

Defined in Data.Singletons.ShowSing

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

data Sing (a :: Bool) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (a :: Bool) where
data Sing (a :: Ordering) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (a :: Ordering) where
data Sing (n :: Nat) # 
Instance details

Defined in Data.Singletons.TypeLits.Internal

data Sing (n :: Nat) where
data Sing (n :: Symbol) # 
Instance details

Defined in Data.Singletons.TypeLits.Internal

data Sing (n :: Symbol) where
data Sing (a :: ()) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (a :: ()) where
data Sing (a :: Void) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (a :: Void)
data Sing (a :: All) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

data Sing (a :: All) where
data Sing (a :: Any) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

data Sing (a :: Any) where
data Sing (a :: PErrorMessage) # 
Instance details

Defined in Data.Singletons.TypeError

data Sing (a :: PErrorMessage) where
data Sing (b :: [a]) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (b :: [a]) where
  • SNil :: forall k (b :: [k]). Sing ([] :: [k])
  • SCons :: forall a (b :: [a]) (n :: a) (n :: [a]). Sing n -> Sing n -> Sing (n ': n)
data Sing (b :: Maybe a) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (b :: Maybe a) where
newtype Sing (a :: TYPE rep) #

A choice of singleton for the kind TYPE rep (for some RuntimeRep rep), an instantiation of which is the famous kind Type.

Conceivably, one could generalize this instance to `Sing :: k -> Type` for any kind k, and remove all other Sing instances. We don't adopt this design, however, since it is far more convenient in practice to work with explicit singleton values than TypeReps (for instance, TypeReps are more difficult to pattern match on, and require extra runtime checks).

We cannot produce explicit singleton values for everything in TYPE rep, however, since it is an open kind, so we reach for TypeRep in this one particular case.

Instance details

Defined in Data.Singletons.TypeRepTYPE

newtype Sing (a :: TYPE rep) = STypeRep (TypeRep a)
data Sing (b :: Min a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

data Sing (b :: Min a) where
data Sing (b :: Max a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

data Sing (b :: Max a) where
data Sing (b :: First a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

data Sing (b :: First a) where
data Sing (b :: Last a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

data Sing (b :: Last a) where
data Sing (a :: WrappedMonoid m) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

data Sing (a :: WrappedMonoid m) where
data Sing (b :: Option a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

data Sing (b :: Option a) where
data Sing (b :: Identity a) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (b :: Identity a) where
data Sing (b :: First a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

data Sing (b :: First a) where
data Sing (b :: Last a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

data Sing (b :: Last a) where
data Sing (b :: Dual a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

data Sing (b :: Dual a) where
data Sing (b :: Sum a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

data Sing (b :: Sum a) where
data Sing (b :: Product a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

data Sing (b :: Product a) where
data Sing (b :: Down a) # 
Instance details

Defined in Data.Singletons.Prelude.Ord

data Sing (b :: Down a) where
data Sing (b :: NonEmpty a) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (b :: NonEmpty a) where
data Sing (c :: Either a b) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (c :: Either a b) where
data Sing (c :: (a, b)) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (c :: (a, b)) where
data Sing (c :: Arg a b) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup

data Sing (c :: Arg a b) where
newtype Sing (f :: k1 ~> k2) # 
Instance details

Defined in Data.Singletons.Internal

newtype Sing (f :: k1 ~> k2) = SLambda {}
data Sing (d :: (a, b, c)) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (d :: (a, b, c)) where
data Sing (c :: Const a b) # 
Instance details

Defined in Data.Singletons.Prelude.Const

data Sing (c :: Const a b) where
data Sing (e :: (a, b, c, d)) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (e :: (a, b, c, d)) where
data Sing (f :: (a, b, c, d, e)) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (f :: (a, b, c, d, e)) where
data Sing (g :: (a, b, c, d, e, f)) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (g :: (a, b, c, d, e, f)) where
data Sing (h :: (a, b, c, d, e, f, g)) # 
Instance details

Defined in Data.Singletons.Prelude.Instances

data Sing (h :: (a, b, c, d, e, f, g)) where

type family GetDual (a :: Dual a) :: a where ... #

Equations

GetDual (Dual field) = field 

type family GetAll (a :: All) :: Bool where ... #

Equations

GetAll (All field) = field 

type family GetAny (a :: Any) :: Bool where ... #

Equations

GetAny (Any field) = field 

type family GetSum (a :: Sum a) :: a where ... #

Equations

GetSum (Sum field) = field 

type family GetProduct (a :: Product a) :: a where ... #

Equations

GetProduct (Product field) = field 

type family GetFirst (a :: First a) :: Maybe a where ... #

Equations

GetFirst (First field) = field 

type family GetLast (a :: Last a) :: Maybe a where ... #

Equations

GetLast (Last field) = field 

type SDual = (Sing :: Dual a -> Type) #

type SAll = (Sing :: All -> Type) #

type SAny = (Sing :: Any -> Type) #

type SSum = (Sing :: Sum a -> Type) #

type SProduct = (Sing :: Product a -> Type) #

type SFirst = (Sing :: First a -> Type) #

type SLast = (Sing :: Last a -> Type) #

Defunctionalization symbols

data MappendSym0 :: forall a6989586621680361494. (~>) a6989586621680361494 ((~>) a6989586621680361494 a6989586621680361494) #

Instances
SMonoid a => SingI (MappendSym0 :: TyFun a (a ~> a) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SuppressUnusedWarnings (MappendSym0 :: TyFun a6989586621680361494 (a6989586621680361494 ~> a6989586621680361494) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (MappendSym0 :: TyFun a6989586621680361494 (a6989586621680361494 ~> a6989586621680361494) -> Type) (arg6989586621680361879 :: a6989586621680361494) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (MappendSym0 :: TyFun a6989586621680361494 (a6989586621680361494 ~> a6989586621680361494) -> Type) (arg6989586621680361879 :: a6989586621680361494) = MappendSym1 arg6989586621680361879

data MappendSym1 (arg6989586621680361879 :: a6989586621680361494) :: (~>) a6989586621680361494 a6989586621680361494 #

Instances
(SMonoid a, SingI d) => SingI (MappendSym1 d :: TyFun a a -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Methods

sing :: Sing (MappendSym1 d) #

SuppressUnusedWarnings (MappendSym1 arg6989586621680361879 :: TyFun a6989586621680361494 a6989586621680361494 -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (MappendSym1 arg6989586621680361879 :: TyFun a a -> Type) (arg6989586621680361880 :: a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (MappendSym1 arg6989586621680361879 :: TyFun a a -> Type) (arg6989586621680361880 :: a) = Mappend arg6989586621680361879 arg6989586621680361880

type MappendSym2 (arg6989586621680361879 :: a6989586621680361494) (arg6989586621680361880 :: a6989586621680361494) = Mappend arg6989586621680361879 arg6989586621680361880 #

data MconcatSym0 :: forall a6989586621680361494. (~>) [a6989586621680361494] a6989586621680361494 #

Instances
SMonoid a => SingI (MconcatSym0 :: TyFun [a] a -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

SuppressUnusedWarnings (MconcatSym0 :: TyFun [a6989586621680361494] a6989586621680361494 -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (MconcatSym0 :: TyFun [a] a -> Type) (arg6989586621680361883 :: [a]) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (MconcatSym0 :: TyFun [a] a -> Type) (arg6989586621680361883 :: [a]) = Mconcat arg6989586621680361883

type MconcatSym1 (arg6989586621680361883 :: [a6989586621680361494]) = Mconcat arg6989586621680361883 #

data DualSym0 :: forall (a6989586621679087235 :: Type). (~>) a6989586621679087235 (Dual (a6989586621679087235 :: Type)) #

Instances
SingI (DualSym0 :: TyFun a (Dual a) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

Methods

sing :: Sing DualSym0 #

SuppressUnusedWarnings (DualSym0 :: TyFun a6989586621679087235 (Dual a6989586621679087235) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply (DualSym0 :: TyFun a (Dual a) -> Type) (t6989586621679842924 :: a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply (DualSym0 :: TyFun a (Dual a) -> Type) (t6989586621679842924 :: a) = Dual t6989586621679842924

type DualSym1 (t6989586621679842924 :: a6989586621679087235) = Dual t6989586621679842924 #

data GetDualSym0 :: forall a6989586621679087235. (~>) (Dual a6989586621679087235) a6989586621679087235 #

Instances
SuppressUnusedWarnings (GetDualSym0 :: TyFun (Dual a6989586621679087235) a6989586621679087235 -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply (GetDualSym0 :: TyFun (Dual a) a -> Type) (a6989586621679842921 :: Dual a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply (GetDualSym0 :: TyFun (Dual a) a -> Type) (a6989586621679842921 :: Dual a) = GetDual a6989586621679842921

type GetDualSym1 (a6989586621679842921 :: Dual a6989586621679087235) = GetDual a6989586621679842921 #

data AllSym0 :: (~>) Bool All #

Instances
SingI AllSym0 # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

Methods

sing :: Sing AllSym0 #

SuppressUnusedWarnings AllSym0 # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply AllSym0 (t6989586621679842938 :: Bool) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply AllSym0 (t6989586621679842938 :: Bool) = All t6989586621679842938

type AllSym1 (t6989586621679842938 :: Bool) = All t6989586621679842938 #

data GetAllSym0 :: (~>) All Bool #

Instances
SuppressUnusedWarnings GetAllSym0 # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply GetAllSym0 (a6989586621679842935 :: All) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply GetAllSym0 (a6989586621679842935 :: All) = GetAll a6989586621679842935

type GetAllSym1 (a6989586621679842935 :: All) = GetAll a6989586621679842935 #

data AnySym0 :: (~>) Bool Any #

Instances
SingI AnySym0 # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

Methods

sing :: Sing AnySym0 #

SuppressUnusedWarnings AnySym0 # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply AnySym0 (t6989586621679842952 :: Bool) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply AnySym0 (t6989586621679842952 :: Bool) = Any t6989586621679842952

type AnySym1 (t6989586621679842952 :: Bool) = Any t6989586621679842952 #

data GetAnySym0 :: (~>) Any Bool #

Instances
SuppressUnusedWarnings GetAnySym0 # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply GetAnySym0 (a6989586621679842949 :: Any) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply GetAnySym0 (a6989586621679842949 :: Any) = GetAny a6989586621679842949

type GetAnySym1 (a6989586621679842949 :: Any) = GetAny a6989586621679842949 #

data SumSym0 :: forall (a6989586621679087220 :: Type). (~>) a6989586621679087220 (Sum (a6989586621679087220 :: Type)) #

Instances
SingI (SumSym0 :: TyFun a (Sum a) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

Methods

sing :: Sing SumSym0 #

SuppressUnusedWarnings (SumSym0 :: TyFun a6989586621679087220 (Sum a6989586621679087220) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply (SumSym0 :: TyFun a (Sum a) -> Type) (t6989586621679842969 :: a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply (SumSym0 :: TyFun a (Sum a) -> Type) (t6989586621679842969 :: a) = Sum t6989586621679842969

type SumSym1 (t6989586621679842969 :: a6989586621679087220) = Sum t6989586621679842969 #

data GetSumSym0 :: forall a6989586621679087220. (~>) (Sum a6989586621679087220) a6989586621679087220 #

Instances
SuppressUnusedWarnings (GetSumSym0 :: TyFun (Sum a6989586621679087220) a6989586621679087220 -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply (GetSumSym0 :: TyFun (Sum a) a -> Type) (a6989586621679842966 :: Sum a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply (GetSumSym0 :: TyFun (Sum a) a -> Type) (a6989586621679842966 :: Sum a) = GetSum a6989586621679842966

type GetSumSym1 (a6989586621679842966 :: Sum a6989586621679087220) = GetSum a6989586621679842966 #

data ProductSym0 :: forall (a6989586621679087225 :: Type). (~>) a6989586621679087225 (Product (a6989586621679087225 :: Type)) #

Instances
SingI (ProductSym0 :: TyFun a (Product a) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

SuppressUnusedWarnings (ProductSym0 :: TyFun a6989586621679087225 (Product a6989586621679087225) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply (ProductSym0 :: TyFun a (Product a) -> Type) (t6989586621679842986 :: a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply (ProductSym0 :: TyFun a (Product a) -> Type) (t6989586621679842986 :: a) = Product t6989586621679842986

type ProductSym1 (t6989586621679842986 :: a6989586621679087225) = Product t6989586621679842986 #

data GetProductSym0 :: forall a6989586621679087225. (~>) (Product a6989586621679087225) a6989586621679087225 #

Instances
SuppressUnusedWarnings (GetProductSym0 :: TyFun (Product a6989586621679087225) a6989586621679087225 -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply (GetProductSym0 :: TyFun (Product a) a -> Type) (a6989586621679842983 :: Product a) # 
Instance details

Defined in Data.Singletons.Prelude.Semigroup.Internal

type Apply (GetProductSym0 :: TyFun (Product a) a -> Type) (a6989586621679842983 :: Product a) = GetProduct a6989586621679842983

type GetProductSym1 (a6989586621679842983 :: Product a6989586621679087225) = GetProduct a6989586621679842983 #

data FirstSym0 :: forall (a6989586621679087264 :: Type). (~>) (Maybe a6989586621679087264) (First (a6989586621679087264 :: Type)) #

Instances
SingI (FirstSym0 :: TyFun (Maybe a) (First a) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Methods

sing :: Sing FirstSym0 #

SuppressUnusedWarnings (FirstSym0 :: TyFun (Maybe a6989586621679087264) (First a6989586621679087264) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (FirstSym0 :: TyFun (Maybe a) (First a) -> Type) (t6989586621680365409 :: Maybe a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (FirstSym0 :: TyFun (Maybe a) (First a) -> Type) (t6989586621680365409 :: Maybe a) = First t6989586621680365409

type FirstSym1 (t6989586621680365409 :: Maybe a6989586621679087264) = First t6989586621680365409 #

data GetFirstSym0 :: forall a6989586621679087264. (~>) (First a6989586621679087264) (Maybe a6989586621679087264) #

Instances
SuppressUnusedWarnings (GetFirstSym0 :: TyFun (First a6989586621679087264) (Maybe a6989586621679087264) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (GetFirstSym0 :: TyFun (First a) (Maybe a) -> Type) (a6989586621680365406 :: First a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (GetFirstSym0 :: TyFun (First a) (Maybe a) -> Type) (a6989586621680365406 :: First a) = GetFirst a6989586621680365406

type GetFirstSym1 (a6989586621680365406 :: First a6989586621679087264) = GetFirst a6989586621680365406 #

data LastSym0 :: forall (a6989586621679087259 :: Type). (~>) (Maybe a6989586621679087259) (Last (a6989586621679087259 :: Type)) #

Instances
SingI (LastSym0 :: TyFun (Maybe a) (Last a) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

Methods

sing :: Sing LastSym0 #

SuppressUnusedWarnings (LastSym0 :: TyFun (Maybe a6989586621679087259) (Last a6989586621679087259) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (LastSym0 :: TyFun (Maybe a) (Last a) -> Type) (t6989586621680365430 :: Maybe a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (LastSym0 :: TyFun (Maybe a) (Last a) -> Type) (t6989586621680365430 :: Maybe a) = Last t6989586621680365430

type LastSym1 (t6989586621680365430 :: Maybe a6989586621679087259) = Last t6989586621680365430 #

data GetLastSym0 :: forall a6989586621679087259. (~>) (Last a6989586621679087259) (Maybe a6989586621679087259) #

Instances
SuppressUnusedWarnings (GetLastSym0 :: TyFun (Last a6989586621679087259) (Maybe a6989586621679087259) -> Type) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (GetLastSym0 :: TyFun (Last a) (Maybe a) -> Type) (a6989586621680365427 :: Last a) # 
Instance details

Defined in Data.Singletons.Prelude.Monoid

type Apply (GetLastSym0 :: TyFun (Last a) (Maybe a) -> Type) (a6989586621680365427 :: Last a) = GetLast a6989586621680365427

type GetLastSym1 (a6989586621680365427 :: Last a6989586621679087259) = GetLast a6989586621680365427 #

Orphan instances

SMonad First # 
Instance details

Methods

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

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

sReturn :: Sing t -> Sing (Apply ReturnSym0 t) #

sFail :: Sing t -> Sing (Apply FailSym0 t) #

SMonad Last # 
Instance details

Methods

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

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

sReturn :: Sing t -> Sing (Apply ReturnSym0 t) #

sFail :: Sing t -> Sing (Apply FailSym0 t) #

SApplicative First # 
Instance details

Methods

sPure :: Sing t -> Sing (Apply PureSym0 t) #

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

sLiftA2 :: Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) #

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

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

SApplicative Last # 
Instance details

Methods

sPure :: Sing t -> Sing (Apply PureSym0 t) #

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

sLiftA2 :: Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LiftA2Sym0 t) t) t) #

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

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

SFunctor First # 
Instance details

Methods

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

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

SFunctor Last # 
Instance details

Methods

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

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

PMonad First # 
Instance details

Associated Types

type arg >>= arg :: m b #

type arg >> arg :: m b #

type Return arg :: m a #

type Fail arg :: m a #

PMonad Last # 
Instance details

Associated Types

type arg >>= arg :: m b #

type arg >> arg :: m b #

type Return arg :: m a #

type Fail arg :: m a #

PApplicative First # 
Instance details

Associated Types

type Pure arg :: f a #

type arg <*> arg :: f b #

type LiftA2 arg arg arg :: f c #

type arg *> arg :: f b #

type arg <* arg :: f a #

PApplicative Last # 
Instance details

Associated Types

type Pure arg :: f a #

type arg <*> arg :: f b #

type LiftA2 arg arg arg :: f c #

type arg *> arg :: f b #

type arg <* arg :: f a #

PFunctor First # 
Instance details

Associated Types

type Fmap arg arg :: f b #

type arg <$ arg :: f a #

PFunctor Last # 
Instance details

Associated Types

type Fmap arg arg :: f b #

type arg <$ arg :: f a #

SingKind a => SingKind (First a) # 
Instance details

Associated Types

type Demote (First a) = (r :: Type) #

Methods

fromSing :: Sing a0 -> Demote (First a) #

toSing :: Demote (First a) -> SomeSing (First a) #

SingKind a => SingKind (Last a) # 
Instance details

Associated Types

type Demote (Last a) = (r :: Type) #

Methods

fromSing :: Sing a0 -> Demote (Last a) #

toSing :: Demote (Last a) -> SomeSing (Last a) #

SDecide (Maybe a) => SDecide (First a) # 
Instance details

Methods

(%~) :: Sing a0 -> Sing b -> Decision (a0 :~: b) #

SDecide (Maybe a) => SDecide (Last a) # 
Instance details

Methods

(%~) :: Sing a0 -> Sing b -> Decision (a0 :~: b) #

PEq (First a) # 
Instance details

Associated Types

type x == y :: Bool #

type x /= y :: Bool #

PEq (Last a) # 
Instance details

Associated Types

type x == y :: Bool #

type x /= y :: Bool #

SEq (Maybe a) => SEq (First a) # 
Instance details

Methods

(%==) :: Sing a0 -> Sing b -> Sing (a0 == b) #

(%/=) :: Sing a0 -> Sing b -> Sing (a0 /= b) #

SEq (Maybe a) => SEq (Last a) # 
Instance details

Methods

(%==) :: Sing a0 -> Sing b -> Sing (a0 == b) #

(%/=) :: Sing a0 -> Sing b -> Sing (a0 /= b) #

SOrd (Maybe a) => SOrd (First a) # 
Instance details

Methods

sCompare :: Sing t -> Sing t -> Sing (Apply (Apply CompareSym0 t) t) #

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

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

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

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

sMax :: Sing t -> Sing t -> Sing (Apply (Apply MaxSym0 t) t) #

sMin :: Sing t -> Sing t -> Sing (Apply (Apply MinSym0 t) t) #

SOrd (Maybe a) => SOrd (Last a) # 
Instance details

Methods

sCompare :: Sing t -> Sing t -> Sing (Apply (Apply CompareSym0 t) t) #

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

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

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

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

sMax :: Sing t -> Sing t -> Sing (Apply (Apply MaxSym0 t) t) #

sMin :: Sing t -> Sing t -> Sing (Apply (Apply MinSym0 t) t) #

POrd (First a) # 
Instance details

Associated Types

type Compare arg arg :: Ordering #

type arg < arg :: Bool #

type arg <= arg :: Bool #

type arg > arg :: Bool #

type arg >= arg :: Bool #

type Max arg arg :: a #

type Min arg arg :: a #

POrd (Last a) # 
Instance details

Associated Types

type Compare arg arg :: Ordering #

type arg < arg :: Bool #

type arg <= arg :: Bool #

type arg > arg :: Bool #

type arg >= arg :: Bool #

type Max arg arg :: a #

type Min arg arg :: a #

SSemigroup (First a) # 
Instance details

Methods

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

sSconcat :: Sing t -> Sing (Apply SconcatSym0 t) #

SSemigroup (Last a) # 
Instance details

Methods

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

sSconcat :: Sing t -> Sing (Apply SconcatSym0 t) #

PSemigroup (First a) # 
Instance details

Associated Types

type arg <> arg :: a #

type Sconcat arg :: a #

PSemigroup (Last a) # 
Instance details

Associated Types

type arg <> arg :: a #

type Sconcat arg :: a #

SShow (Maybe a) => SShow (First a) # 
Instance details

Methods

sShowsPrec :: Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply ShowsPrecSym0 t) t) t) #

sShow_ :: Sing t -> Sing (Apply Show_Sym0 t) #

sShowList :: Sing t -> Sing t -> Sing (Apply (Apply ShowListSym0 t) t) #

SShow (Maybe a) => SShow (Last a) # 
Instance details

Methods

sShowsPrec :: Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply ShowsPrecSym0 t) t) t) #

sShow_ :: Sing t -> Sing (Apply Show_Sym0 t) #

sShowList :: Sing t -> Sing t -> Sing (Apply (Apply ShowListSym0 t) t) #

PShow (First a) # 
Instance details

Associated Types

type ShowsPrec arg arg arg :: Symbol #

type Show_ arg :: Symbol #

type ShowList arg arg :: Symbol #

PShow (Last a) # 
Instance details

Associated Types

type ShowsPrec arg arg arg :: Symbol #

type Show_ arg :: Symbol #

type ShowList arg arg :: Symbol #

SingI n => SingI (First n :: First a) # 
Instance details

Methods

sing :: Sing (First0 n) #

SingI n => SingI (Last n :: Last a) # 
Instance details

Methods

sing :: Sing (Last0 n) #

ShowSing (Maybe a) => Show (Sing z) # 
Instance details

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

ShowSing (Maybe a) => Show (Sing z) # 
Instance details

Methods

showsPrec :: Int -> Sing z -> ShowS #

show :: Sing z -> String #

showList :: [Sing z] -> ShowS #

SingI (TyCon1 (Last :: Maybe a -> Last a) :: Maybe a ~> Last a) # 
Instance details

Methods

sing :: Sing (TyCon1 Last0) #

SingI (TyCon1 (First :: Maybe a -> First a) :: Maybe a ~> First a) # 
Instance details

Methods

sing :: Sing (TyCon1 First0) #