singletons-base-3.1.1: A promoted and singled version of the base library
Copyright(C) 2013-2014 Richard Eisenberg Jan Stolarek
LicenseBSD-style (see LICENSE)
MaintainerRyan Scott
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Maybe.Singletons

Description

Defines functions and datatypes relating to the singleton for Maybe, including singled versions of all the definitions in Data.Maybe.

Because many of these definitions are produced by Template Haskell, it is not possible to create proper Haddock documentation. Please look up the corresponding operation in Data.Maybe. Also, please excuse the apparent repeated variable names. This is due to an interaction between Template Haskell and Haddock.

Synopsis

Documentation

type family Sing :: k -> Type #

Instances

Instances details
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

type Sing = SAll
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

type Sing = SAny
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SVoid
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing Source # 
Instance details

Defined in Data.Singletons.Base.TypeError

type Sing Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sing = SNat
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple0
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SBool
type Sing Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sing = SChar
type Sing Source # 
Instance details

Defined in GHC.TypeLits.Singletons.Internal

type Sing = SSymbol
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SIdentity :: Identity a -> Type
type Sing Source # 
Instance details

Defined in Data.Monoid.Singletons

type Sing = SFirst :: First a -> Type
type Sing Source # 
Instance details

Defined in Data.Monoid.Singletons

type Sing = SLast :: Last a -> Type
type Sing Source # 
Instance details

Defined in Data.Ord.Singletons

type Sing = SDown :: Down a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

type Sing = SFirst :: First a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

type Sing = SLast :: Last a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

type Sing = SMax :: Max a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

type Sing = SMin :: Min a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

type Sing = SDual :: Dual a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

type Sing = SProduct :: Product a -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons.Internal

type Sing = SSum :: Sum a -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SNonEmpty :: NonEmpty a -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SMaybe :: Maybe a -> Type
type Sing Source #

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` 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.Base.TypeRepTYPE

type Sing = TypeRep :: TYPE rep -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SList :: [a] -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = SEither :: Either a b -> Type
type Sing Source # 
Instance details

Defined in Data.Proxy.Singletons

type Sing = SProxy :: Proxy t -> Type
type Sing Source # 
Instance details

Defined in Data.Semigroup.Singletons

type Sing = SArg :: Arg a b -> Type
type Sing 
Instance details

Defined in Data.Singletons

type Sing = SWrappedSing :: WrappedSing a -> Type
type Sing 
Instance details

Defined in Data.Singletons

type Sing = SLambda :: (k1 ~> k2) -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple2 :: (a, b) -> Type
type Sing Source # 
Instance details

Defined in Data.Functor.Const.Singletons

type Sing = SConst :: Const a b -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple3 :: (a, b, c) -> Type
type Sing Source # 
Instance details

Defined in Data.Functor.Product.Singletons

type Sing = SProduct :: Product f g a -> Type
type Sing Source # 
Instance details

Defined in Data.Functor.Sum.Singletons

type Sing = SSum :: Sum f g a -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple4 :: (a, b, c, d) -> Type
type Sing Source # 
Instance details

Defined in Data.Functor.Compose.Singletons

type Sing = SCompose :: Compose f g a -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple5 :: (a, b, c, d, e) -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple6 :: (a, b, c, d, e, f) -> Type
type Sing Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Sing = STuple7 :: (a, b, c, d, e, f, g) -> Type

data SMaybe :: forall (a :: Type). Maybe a -> Type where Source #

Constructors

SNothing :: forall (a :: Type). SMaybe ('Nothing :: Maybe (a :: Type)) 
SJust :: forall (a :: Type) (n :: a). (Sing n) -> SMaybe ('Just n :: Maybe (a :: Type)) 

Instances

Instances details
SDecide a => TestCoercion (SMaybe :: Maybe a -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.Instances

Methods

testCoercion :: forall (a0 :: k) (b :: k). SMaybe a0 -> SMaybe b -> Maybe (Coercion a0 b) #

SDecide a => TestEquality (SMaybe :: Maybe a -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.Instances

Methods

testEquality :: forall (a0 :: k) (b :: k). SMaybe a0 -> SMaybe b -> Maybe (a0 :~: b) #

ShowSing a => Show (SMaybe z) Source # 
Instance details

Defined in Data.Singletons.Base.Instances

Methods

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

show :: SMaybe z -> String #

showList :: [SMaybe z] -> ShowS #

Singletons from Data.Maybe

maybe_ :: b -> (a -> b) -> Maybe a -> b Source #

type family Maybe_ (a :: b) (a :: (~>) a b) (a :: Maybe a) :: b where ... Source #

Equations

Maybe_ n _ 'Nothing = n 
Maybe_ _ f ('Just x) = Apply f x 

sMaybe_ :: forall b a (t :: b) (t :: (~>) a b) (t :: Maybe a). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply Maybe_Sym0 t) t) t :: b) Source #

The preceding two definitions are derived from the function maybe in Data.Maybe. The extra underscore is to avoid name clashes with the type Maybe.

type family IsJust (a :: Maybe a) :: Bool where ... Source #

Equations

IsJust 'Nothing = FalseSym0 
IsJust ('Just _) = TrueSym0 

sIsJust :: forall a (t :: Maybe a). Sing t -> Sing (Apply IsJustSym0 t :: Bool) Source #

type family IsNothing (a :: Maybe a) :: Bool where ... Source #

sIsNothing :: forall a (t :: Maybe a). Sing t -> Sing (Apply IsNothingSym0 t :: Bool) Source #

type family FromJust (a :: Maybe a) :: a where ... Source #

Equations

FromJust 'Nothing = Apply ErrorSym0 "Maybe.fromJust: Nothing" 
FromJust ('Just x) = x 

sFromJust :: forall a (t :: Maybe a). Sing t -> Sing (Apply FromJustSym0 t :: a) Source #

type family FromMaybe (a :: a) (a :: Maybe a) :: a where ... Source #

Equations

FromMaybe d x = Case_6989586621679570851 d x x 

sFromMaybe :: forall a (t :: a) (t :: Maybe a). Sing t -> Sing t -> Sing (Apply (Apply FromMaybeSym0 t) t :: a) Source #

type family ListToMaybe (a :: [a]) :: Maybe a where ... Source #

Equations

ListToMaybe '[] = NothingSym0 
ListToMaybe ('(:) a _) = Apply JustSym0 a 

sListToMaybe :: forall a (t :: [a]). Sing t -> Sing (Apply ListToMaybeSym0 t :: Maybe a) Source #

type family MaybeToList (a :: Maybe a) :: [a] where ... Source #

Equations

MaybeToList 'Nothing = NilSym0 
MaybeToList ('Just x) = Apply (Apply (:@#@$) x) NilSym0 

sMaybeToList :: forall a (t :: Maybe a). Sing t -> Sing (Apply MaybeToListSym0 t :: [a]) Source #

type family CatMaybes (a :: [Maybe a]) :: [a] where ... Source #

Equations

CatMaybes '[] = NilSym0 
CatMaybes ('(:) ('Just x) xs) = Apply (Apply (:@#@$) x) (Apply CatMaybesSym0 xs) 
CatMaybes ('(:) 'Nothing xs) = Apply CatMaybesSym0 xs 

sCatMaybes :: forall a (t :: [Maybe a]). Sing t -> Sing (Apply CatMaybesSym0 t :: [a]) Source #

type family MapMaybe (a :: (~>) a (Maybe b)) (a :: [a]) :: [b] where ... Source #

Equations

MapMaybe _ '[] = NilSym0 
MapMaybe f ('(:) x xs) = Case_6989586621679570826 f x xs (Let6989586621679570824Scrutinee_6989586621679570694Sym3 f x xs) 

sMapMaybe :: forall a b (t :: (~>) a (Maybe b)) (t :: [a]). Sing t -> Sing t -> Sing (Apply (Apply MapMaybeSym0 t) t :: [b]) Source #

Defunctionalization symbols

type family NothingSym0 :: Maybe (a :: Type) where ... Source #

Equations

NothingSym0 = 'Nothing 

data JustSym0 :: (~>) a (Maybe (a :: Type)) Source #

Instances

Instances details
SingI (JustSym0 :: TyFun a (Maybe a) -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.Instances

Methods

sing :: Sing JustSym0

SuppressUnusedWarnings (JustSym0 :: TyFun a (Maybe a) -> Type) Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Apply (JustSym0 :: TyFun a (Maybe a) -> Type) (a6989586621679040342 :: a) Source # 
Instance details

Defined in Data.Singletons.Base.Instances

type Apply (JustSym0 :: TyFun a (Maybe a) -> Type) (a6989586621679040342 :: a) = 'Just a6989586621679040342

type family JustSym1 (a6989586621679040342 :: a) :: Maybe (a :: Type) where ... Source #

Equations

JustSym1 a6989586621679040342 = 'Just a6989586621679040342 

data Maybe_Sym0 :: (~>) b ((~>) ((~>) a b) ((~>) (Maybe a) b)) Source #

Instances

Instances details
SingI (Maybe_Sym0 :: TyFun b ((a ~> b) ~> (Maybe a ~> b)) -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

Methods

sing :: Sing Maybe_Sym0

SuppressUnusedWarnings (Maybe_Sym0 :: TyFun b ((a ~> b) ~> (Maybe a ~> b)) -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (Maybe_Sym0 :: TyFun b ((a ~> b) ~> (Maybe a ~> b)) -> Type) (a6989586621679568692 :: b) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (Maybe_Sym0 :: TyFun b ((a ~> b) ~> (Maybe a ~> b)) -> Type) (a6989586621679568692 :: b) = Maybe_Sym1 a6989586621679568692 :: TyFun (a ~> b) (Maybe a ~> b) -> Type

data Maybe_Sym1 (a6989586621679568692 :: b) :: (~>) ((~>) a b) ((~>) (Maybe a) b) Source #

Instances

Instances details
SingI1 (Maybe_Sym1 :: b -> TyFun (a ~> b) (Maybe a ~> b) -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (Maybe_Sym1 x)

SingI d => SingI (Maybe_Sym1 d :: TyFun (a ~> b) (Maybe a ~> b) -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

Methods

sing :: Sing (Maybe_Sym1 d)

SuppressUnusedWarnings (Maybe_Sym1 a6989586621679568692 :: TyFun (a ~> b) (Maybe a ~> b) -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (Maybe_Sym1 a6989586621679568692 :: TyFun (a ~> b) (Maybe a ~> b) -> Type) (a6989586621679568693 :: a ~> b) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (Maybe_Sym1 a6989586621679568692 :: TyFun (a ~> b) (Maybe a ~> b) -> Type) (a6989586621679568693 :: a ~> b) = Maybe_Sym2 a6989586621679568692 a6989586621679568693

data Maybe_Sym2 (a6989586621679568692 :: b) (a6989586621679568693 :: (~>) a b) :: (~>) (Maybe a) b Source #

Instances

Instances details
SingI2 (Maybe_Sym2 :: b -> (a ~> b) -> TyFun (Maybe a) b -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

Methods

liftSing2 :: forall (x :: k1) (y :: k2). Sing x -> Sing y -> Sing (Maybe_Sym2 x y)

SingI d => SingI1 (Maybe_Sym2 d :: (a ~> b) -> TyFun (Maybe a) b -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (Maybe_Sym2 d x)

(SingI d1, SingI d2) => SingI (Maybe_Sym2 d1 d2 :: TyFun (Maybe a) b -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

Methods

sing :: Sing (Maybe_Sym2 d1 d2)

SuppressUnusedWarnings (Maybe_Sym2 a6989586621679568692 a6989586621679568693 :: TyFun (Maybe a) b -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (Maybe_Sym2 a6989586621679568692 a6989586621679568693 :: TyFun (Maybe a) b -> Type) (a6989586621679568694 :: Maybe a) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (Maybe_Sym2 a6989586621679568692 a6989586621679568693 :: TyFun (Maybe a) b -> Type) (a6989586621679568694 :: Maybe a) = Maybe_ a6989586621679568692 a6989586621679568693 a6989586621679568694

type family Maybe_Sym3 (a6989586621679568692 :: b) (a6989586621679568693 :: (~>) a b) (a6989586621679568694 :: Maybe a) :: b where ... Source #

Equations

Maybe_Sym3 a6989586621679568692 a6989586621679568693 a6989586621679568694 = Maybe_ a6989586621679568692 a6989586621679568693 a6989586621679568694 

data IsJustSym0 :: (~>) (Maybe a) Bool Source #

Instances

Instances details
SingI (IsJustSym0 :: TyFun (Maybe a) Bool -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

Methods

sing :: Sing IsJustSym0

SuppressUnusedWarnings (IsJustSym0 :: TyFun (Maybe a) Bool -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (IsJustSym0 :: TyFun (Maybe a) Bool -> Type) (a6989586621679570864 :: Maybe a) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (IsJustSym0 :: TyFun (Maybe a) Bool -> Type) (a6989586621679570864 :: Maybe a) = IsJust a6989586621679570864

type family IsJustSym1 (a6989586621679570864 :: Maybe a) :: Bool where ... Source #

Equations

IsJustSym1 a6989586621679570864 = IsJust a6989586621679570864 

data IsNothingSym0 :: (~>) (Maybe a) Bool Source #

Instances

Instances details
SingI (IsNothingSym0 :: TyFun (Maybe a) Bool -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

SuppressUnusedWarnings (IsNothingSym0 :: TyFun (Maybe a) Bool -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (IsNothingSym0 :: TyFun (Maybe a) Bool -> Type) (a6989586621679570861 :: Maybe a) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (IsNothingSym0 :: TyFun (Maybe a) Bool -> Type) (a6989586621679570861 :: Maybe a) = IsNothing a6989586621679570861

type family IsNothingSym1 (a6989586621679570861 :: Maybe a) :: Bool where ... Source #

Equations

IsNothingSym1 a6989586621679570861 = IsNothing a6989586621679570861 

data FromJustSym0 :: (~>) (Maybe a) a Source #

Instances

Instances details
SingI (FromJustSym0 :: TyFun (Maybe a) a -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

SuppressUnusedWarnings (FromJustSym0 :: TyFun (Maybe a) a -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (FromJustSym0 :: TyFun (Maybe a) a -> Type) (a6989586621679570857 :: Maybe a) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (FromJustSym0 :: TyFun (Maybe a) a -> Type) (a6989586621679570857 :: Maybe a) = FromJust a6989586621679570857

type family FromJustSym1 (a6989586621679570857 :: Maybe a) :: a where ... Source #

Equations

FromJustSym1 a6989586621679570857 = FromJust a6989586621679570857 

data FromMaybeSym0 :: (~>) a ((~>) (Maybe a) a) Source #

Instances

Instances details
SingI (FromMaybeSym0 :: TyFun a (Maybe a ~> a) -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

SuppressUnusedWarnings (FromMaybeSym0 :: TyFun a (Maybe a ~> a) -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (FromMaybeSym0 :: TyFun a (Maybe a ~> a) -> Type) (a6989586621679570847 :: a) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (FromMaybeSym0 :: TyFun a (Maybe a ~> a) -> Type) (a6989586621679570847 :: a) = FromMaybeSym1 a6989586621679570847

data FromMaybeSym1 (a6989586621679570847 :: a) :: (~>) (Maybe a) a Source #

Instances

Instances details
SingI1 (FromMaybeSym1 :: a -> TyFun (Maybe a) a -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (FromMaybeSym1 x)

SingI d => SingI (FromMaybeSym1 d :: TyFun (Maybe a) a -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

Methods

sing :: Sing (FromMaybeSym1 d)

SuppressUnusedWarnings (FromMaybeSym1 a6989586621679570847 :: TyFun (Maybe a) a -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (FromMaybeSym1 a6989586621679570847 :: TyFun (Maybe a) a -> Type) (a6989586621679570848 :: Maybe a) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (FromMaybeSym1 a6989586621679570847 :: TyFun (Maybe a) a -> Type) (a6989586621679570848 :: Maybe a) = FromMaybe a6989586621679570847 a6989586621679570848

type family FromMaybeSym2 (a6989586621679570847 :: a) (a6989586621679570848 :: Maybe a) :: a where ... Source #

Equations

FromMaybeSym2 a6989586621679570847 a6989586621679570848 = FromMaybe a6989586621679570847 a6989586621679570848 

data ListToMaybeSym0 :: (~>) [a] (Maybe a) Source #

Instances

Instances details
SingI (ListToMaybeSym0 :: TyFun [a] (Maybe a) -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

SuppressUnusedWarnings (ListToMaybeSym0 :: TyFun [a] (Maybe a) -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (ListToMaybeSym0 :: TyFun [a] (Maybe a) -> Type) (a6989586621679570838 :: [a]) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (ListToMaybeSym0 :: TyFun [a] (Maybe a) -> Type) (a6989586621679570838 :: [a]) = ListToMaybe a6989586621679570838

type family ListToMaybeSym1 (a6989586621679570838 :: [a]) :: Maybe a where ... Source #

Equations

ListToMaybeSym1 a6989586621679570838 = ListToMaybe a6989586621679570838 

data MaybeToListSym0 :: (~>) (Maybe a) [a] Source #

Instances

Instances details
SingI (MaybeToListSym0 :: TyFun (Maybe a) [a] -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

SuppressUnusedWarnings (MaybeToListSym0 :: TyFun (Maybe a) [a] -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (MaybeToListSym0 :: TyFun (Maybe a) [a] -> Type) (a6989586621679570842 :: Maybe a) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (MaybeToListSym0 :: TyFun (Maybe a) [a] -> Type) (a6989586621679570842 :: Maybe a) = MaybeToList a6989586621679570842

type family MaybeToListSym1 (a6989586621679570842 :: Maybe a) :: [a] where ... Source #

Equations

MaybeToListSym1 a6989586621679570842 = MaybeToList a6989586621679570842 

data CatMaybesSym0 :: (~>) [Maybe a] [a] Source #

Instances

Instances details
SingI (CatMaybesSym0 :: TyFun [Maybe a] [a] -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

SuppressUnusedWarnings (CatMaybesSym0 :: TyFun [Maybe a] [a] -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (CatMaybesSym0 :: TyFun [Maybe a] [a] -> Type) (a6989586621679570832 :: [Maybe a]) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (CatMaybesSym0 :: TyFun [Maybe a] [a] -> Type) (a6989586621679570832 :: [Maybe a]) = CatMaybes a6989586621679570832

type family CatMaybesSym1 (a6989586621679570832 :: [Maybe a]) :: [a] where ... Source #

Equations

CatMaybesSym1 a6989586621679570832 = CatMaybes a6989586621679570832 

data MapMaybeSym0 :: (~>) ((~>) a (Maybe b)) ((~>) [a] [b]) Source #

Instances

Instances details
SingI (MapMaybeSym0 :: TyFun (a ~> Maybe b) ([a] ~> [b]) -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

SuppressUnusedWarnings (MapMaybeSym0 :: TyFun (a ~> Maybe b) ([a] ~> [b]) -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (MapMaybeSym0 :: TyFun (a ~> Maybe b) ([a] ~> [b]) -> Type) (a6989586621679570817 :: a ~> Maybe b) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (MapMaybeSym0 :: TyFun (a ~> Maybe b) ([a] ~> [b]) -> Type) (a6989586621679570817 :: a ~> Maybe b) = MapMaybeSym1 a6989586621679570817

data MapMaybeSym1 (a6989586621679570817 :: (~>) a (Maybe b)) :: (~>) [a] [b] Source #

Instances

Instances details
SingI1 (MapMaybeSym1 :: (a ~> Maybe b) -> TyFun [a] [b] -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

Methods

liftSing :: forall (x :: k1). Sing x -> Sing (MapMaybeSym1 x)

SingI d => SingI (MapMaybeSym1 d :: TyFun [a] [b] -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

Methods

sing :: Sing (MapMaybeSym1 d)

SuppressUnusedWarnings (MapMaybeSym1 a6989586621679570817 :: TyFun [a] [b] -> Type) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (MapMaybeSym1 a6989586621679570817 :: TyFun [a] [b] -> Type) (a6989586621679570818 :: [a]) Source # 
Instance details

Defined in Data.Maybe.Singletons

type Apply (MapMaybeSym1 a6989586621679570817 :: TyFun [a] [b] -> Type) (a6989586621679570818 :: [a]) = MapMaybe a6989586621679570817 a6989586621679570818

type family MapMaybeSym2 (a6989586621679570817 :: (~>) a (Maybe b)) (a6989586621679570818 :: [a]) :: [b] where ... Source #

Equations

MapMaybeSym2 a6989586621679570817 a6989586621679570818 = MapMaybe a6989586621679570817 a6989586621679570818