| Copyright | (C) 2013-2014 Richard Eisenberg Jan Stolarek |
|---|---|
| License | BSD-style (see LICENSE) |
| Maintainer | Ryan Scott |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Singletons.Prelude.Maybe
Description
Defines functions and datatypes relating to the singleton for Maybe,
including a singletons version 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
- type family Sing :: k -> Type
- data SMaybe :: forall a. Maybe a -> Type where
- maybe_ :: b -> (a -> b) -> Maybe a -> b
- type family Maybe_ (a :: b) (a :: (~>) a b) (a :: Maybe a) :: b where ...
- 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)
- type family IsJust (a :: Maybe a) :: Bool where ...
- sIsJust :: forall a (t :: Maybe a). Sing t -> Sing (Apply IsJustSym0 t :: Bool)
- type family IsNothing (a :: Maybe a) :: Bool where ...
- sIsNothing :: forall a (t :: Maybe a). Sing t -> Sing (Apply IsNothingSym0 t :: Bool)
- type family FromJust (a :: Maybe a) :: a where ...
- sFromJust :: forall a (t :: Maybe a). Sing t -> Sing (Apply FromJustSym0 t :: a)
- type family FromMaybe (a :: a) (a :: Maybe a) :: a where ...
- sFromMaybe :: forall a (t :: a) (t :: Maybe a). Sing t -> Sing t -> Sing (Apply (Apply FromMaybeSym0 t) t :: a)
- type family ListToMaybe (a :: [a]) :: Maybe a where ...
- sListToMaybe :: forall a (t :: [a]). Sing t -> Sing (Apply ListToMaybeSym0 t :: Maybe a)
- type family MaybeToList (a :: Maybe a) :: [a] where ...
- sMaybeToList :: forall a (t :: Maybe a). Sing t -> Sing (Apply MaybeToListSym0 t :: [a])
- type family CatMaybes (a :: [Maybe a]) :: [a] where ...
- sCatMaybes :: forall a (t :: [Maybe a]). Sing t -> Sing (Apply CatMaybesSym0 t :: [a])
- type family MapMaybe (a :: (~>) a (Maybe b)) (a :: [a]) :: [b] where ...
- sMapMaybe :: forall a b (t :: (~>) a (Maybe b)) (t :: [a]). Sing t -> Sing t -> Sing (Apply (Apply MapMaybeSym0 t) t :: [b])
- type NothingSym0 = 'Nothing
- data JustSym0 :: forall (a3530822107858468865 :: Type). (~>) a3530822107858468865 (Maybe (a3530822107858468865 :: Type))
- type JustSym1 (t6989586621679310883 :: a3530822107858468865) = 'Just t6989586621679310883
- data Maybe_Sym0 :: forall b6989586621679510942 a6989586621679510943. (~>) b6989586621679510942 ((~>) ((~>) a6989586621679510943 b6989586621679510942) ((~>) (Maybe a6989586621679510943) b6989586621679510942))
- data Maybe_Sym1 (a6989586621679510960 :: b6989586621679510942) :: forall a6989586621679510943. (~>) ((~>) a6989586621679510943 b6989586621679510942) ((~>) (Maybe a6989586621679510943) b6989586621679510942)
- data Maybe_Sym2 (a6989586621679510960 :: b6989586621679510942) (a6989586621679510961 :: (~>) a6989586621679510943 b6989586621679510942) :: (~>) (Maybe a6989586621679510943) b6989586621679510942
- type Maybe_Sym3 (a6989586621679510960 :: b6989586621679510942) (a6989586621679510961 :: (~>) a6989586621679510943 b6989586621679510942) (a6989586621679510962 :: Maybe a6989586621679510943) = Maybe_ a6989586621679510960 a6989586621679510961 a6989586621679510962
- data IsJustSym0 :: forall a6989586621679512372. (~>) (Maybe a6989586621679512372) Bool
- type IsJustSym1 (a6989586621679512570 :: Maybe a6989586621679512372) = IsJust a6989586621679512570
- data IsNothingSym0 :: forall a6989586621679512371. (~>) (Maybe a6989586621679512371) Bool
- type IsNothingSym1 (a6989586621679512568 :: Maybe a6989586621679512371) = IsNothing a6989586621679512568
- data FromJustSym0 :: forall a6989586621679512370. (~>) (Maybe a6989586621679512370) a6989586621679512370
- type FromJustSym1 (a6989586621679512565 :: Maybe a6989586621679512370) = FromJust a6989586621679512565
- data FromMaybeSym0 :: forall a6989586621679512369. (~>) a6989586621679512369 ((~>) (Maybe a6989586621679512369) a6989586621679512369)
- data FromMaybeSym1 (a6989586621679512555 :: a6989586621679512369) :: (~>) (Maybe a6989586621679512369) a6989586621679512369
- type FromMaybeSym2 (a6989586621679512555 :: a6989586621679512369) (a6989586621679512556 :: Maybe a6989586621679512369) = FromMaybe a6989586621679512555 a6989586621679512556
- data ListToMaybeSym0 :: forall a6989586621679512367. (~>) [a6989586621679512367] (Maybe a6989586621679512367)
- type ListToMaybeSym1 (a6989586621679512549 :: [a6989586621679512367]) = ListToMaybe a6989586621679512549
- data MaybeToListSym0 :: forall a6989586621679512368. (~>) (Maybe a6989586621679512368) [a6989586621679512368]
- type MaybeToListSym1 (a6989586621679512552 :: Maybe a6989586621679512368) = MaybeToList a6989586621679512552
- data CatMaybesSym0 :: forall a6989586621679512366. (~>) [Maybe a6989586621679512366] [a6989586621679512366]
- type CatMaybesSym1 (a6989586621679512544 :: [Maybe a6989586621679512366]) = CatMaybes a6989586621679512544
- data MapMaybeSym0 :: forall a6989586621679512364 b6989586621679512365. (~>) ((~>) a6989586621679512364 (Maybe b6989586621679512365)) ((~>) [a6989586621679512364] [b6989586621679512365])
- data MapMaybeSym1 (a6989586621679512525 :: (~>) a6989586621679512364 (Maybe b6989586621679512365)) :: (~>) [a6989586621679512364] [b6989586621679512365]
- type MapMaybeSym2 (a6989586621679512525 :: (~>) a6989586621679512364 (Maybe b6989586621679512365)) (a6989586621679512526 :: [a6989586621679512364]) = MapMaybe a6989586621679512525 a6989586621679512526
Documentation
type family Sing :: k -> Type Source #
The singleton kind-indexed type family.
Instances
data SMaybe :: forall a. Maybe a -> Type where Source #
Constructors
| SNothing :: SMaybe 'Nothing | |
| SJust :: forall a (n :: a). (Sing (n :: a)) -> SMaybe ('Just n) |
Instances
| SDecide a => TestCoercion (SMaybe :: Maybe a -> Type) Source # | |
Defined in Data.Singletons.Prelude.Instances Methods testCoercion :: forall (a0 :: k) (b :: k). SMaybe a0 -> SMaybe b -> Maybe (Coercion a0 b) | |
| SDecide a => TestEquality (SMaybe :: Maybe a -> Type) Source # | |
Defined in Data.Singletons.Prelude.Instances Methods testEquality :: forall (a0 :: k) (b :: k). SMaybe a0 -> SMaybe b -> Maybe (a0 :~: b) | |
| ShowSing a => Show (SMaybe z) | |
Singletons from Data.Maybe
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.
sIsNothing :: forall a (t :: Maybe a). Sing t -> Sing (Apply IsNothingSym0 t :: Bool) Source #
type family FromMaybe (a :: a) (a :: Maybe a) :: a where ... Source #
Equations
| FromMaybe d x = Case_6989586621679512561 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 = '[] | |
| MaybeToList ('Just x) = Apply (Apply (:@#@$) x) '[] |
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 '[] = '[] | |
| 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 #
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 NothingSym0 = 'Nothing Source #
data JustSym0 :: forall (a3530822107858468865 :: Type). (~>) a3530822107858468865 (Maybe (a3530822107858468865 :: Type)) Source #
Instances
| SingI (JustSym0 :: TyFun a (Maybe a) -> Type) Source # | |
| SuppressUnusedWarnings (JustSym0 :: TyFun a3530822107858468865 (Maybe a3530822107858468865) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Instances Methods suppressUnusedWarnings :: () Source # | |
| type Apply (JustSym0 :: TyFun a (Maybe a) -> Type) (t6989586621679310883 :: a) Source # | |
Defined in Data.Singletons.Prelude.Instances | |
data Maybe_Sym0 :: forall b6989586621679510942 a6989586621679510943. (~>) b6989586621679510942 ((~>) ((~>) a6989586621679510943 b6989586621679510942) ((~>) (Maybe a6989586621679510943) b6989586621679510942)) Source #
Instances
| SingI (Maybe_Sym0 :: TyFun b ((a ~> b) ~> (Maybe a ~> b)) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing Maybe_Sym0 Source # | |
| SuppressUnusedWarnings (Maybe_Sym0 :: TyFun b6989586621679510942 ((a6989586621679510943 ~> b6989586621679510942) ~> (Maybe a6989586621679510943 ~> b6989586621679510942)) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (Maybe_Sym0 :: TyFun b6989586621679510942 ((a6989586621679510943 ~> b6989586621679510942) ~> (Maybe a6989586621679510943 ~> b6989586621679510942)) -> Type) (a6989586621679510960 :: b6989586621679510942) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (Maybe_Sym0 :: TyFun b6989586621679510942 ((a6989586621679510943 ~> b6989586621679510942) ~> (Maybe a6989586621679510943 ~> b6989586621679510942)) -> Type) (a6989586621679510960 :: b6989586621679510942) = Maybe_Sym1 a6989586621679510960 a6989586621679510943 :: TyFun (a6989586621679510943 ~> b6989586621679510942) (Maybe a6989586621679510943 ~> b6989586621679510942) -> Type | |
data Maybe_Sym1 (a6989586621679510960 :: b6989586621679510942) :: forall a6989586621679510943. (~>) ((~>) a6989586621679510943 b6989586621679510942) ((~>) (Maybe a6989586621679510943) b6989586621679510942) Source #
Instances
| SingI d => SingI (Maybe_Sym1 d a :: TyFun (a ~> b) (Maybe a ~> b) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing (Maybe_Sym1 d a) Source # | |
| SuppressUnusedWarnings (Maybe_Sym1 a6989586621679510960 a6989586621679510943 :: TyFun (a6989586621679510943 ~> b6989586621679510942) (Maybe a6989586621679510943 ~> b6989586621679510942) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (Maybe_Sym1 a6989586621679510960 a6989586621679510943 :: TyFun (a6989586621679510943 ~> b6989586621679510942) (Maybe a6989586621679510943 ~> b6989586621679510942) -> Type) (a6989586621679510961 :: a6989586621679510943 ~> b6989586621679510942) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (Maybe_Sym1 a6989586621679510960 a6989586621679510943 :: TyFun (a6989586621679510943 ~> b6989586621679510942) (Maybe a6989586621679510943 ~> b6989586621679510942) -> Type) (a6989586621679510961 :: a6989586621679510943 ~> b6989586621679510942) = Maybe_Sym2 a6989586621679510960 a6989586621679510961 | |
data Maybe_Sym2 (a6989586621679510960 :: b6989586621679510942) (a6989586621679510961 :: (~>) a6989586621679510943 b6989586621679510942) :: (~>) (Maybe a6989586621679510943) b6989586621679510942 Source #
Instances
| (SingI d1, SingI d2) => SingI (Maybe_Sym2 d1 d2 :: TyFun (Maybe a) b -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing (Maybe_Sym2 d1 d2) Source # | |
| SuppressUnusedWarnings (Maybe_Sym2 a6989586621679510961 a6989586621679510960 :: TyFun (Maybe a6989586621679510943) b6989586621679510942 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (Maybe_Sym2 a6989586621679510961 a6989586621679510960 :: TyFun (Maybe a) b -> Type) (a6989586621679510962 :: Maybe a) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (Maybe_Sym2 a6989586621679510961 a6989586621679510960 :: TyFun (Maybe a) b -> Type) (a6989586621679510962 :: Maybe a) = Maybe_ a6989586621679510961 a6989586621679510960 a6989586621679510962 | |
type Maybe_Sym3 (a6989586621679510960 :: b6989586621679510942) (a6989586621679510961 :: (~>) a6989586621679510943 b6989586621679510942) (a6989586621679510962 :: Maybe a6989586621679510943) = Maybe_ a6989586621679510960 a6989586621679510961 a6989586621679510962 Source #
data IsJustSym0 :: forall a6989586621679512372. (~>) (Maybe a6989586621679512372) Bool Source #
Instances
| SingI (IsJustSym0 :: TyFun (Maybe a) Bool -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing IsJustSym0 Source # | |
| SuppressUnusedWarnings (IsJustSym0 :: TyFun (Maybe a6989586621679512372) Bool -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (IsJustSym0 :: TyFun (Maybe a) Bool -> Type) (a6989586621679512570 :: Maybe a) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (IsJustSym0 :: TyFun (Maybe a) Bool -> Type) (a6989586621679512570 :: Maybe a) = IsJust a6989586621679512570 | |
type IsJustSym1 (a6989586621679512570 :: Maybe a6989586621679512372) = IsJust a6989586621679512570 Source #
data IsNothingSym0 :: forall a6989586621679512371. (~>) (Maybe a6989586621679512371) Bool Source #
Instances
| SingI (IsNothingSym0 :: TyFun (Maybe a) Bool -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing IsNothingSym0 Source # | |
| SuppressUnusedWarnings (IsNothingSym0 :: TyFun (Maybe a6989586621679512371) Bool -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (IsNothingSym0 :: TyFun (Maybe a) Bool -> Type) (a6989586621679512568 :: Maybe a) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (IsNothingSym0 :: TyFun (Maybe a) Bool -> Type) (a6989586621679512568 :: Maybe a) = IsNothing a6989586621679512568 | |
type IsNothingSym1 (a6989586621679512568 :: Maybe a6989586621679512371) = IsNothing a6989586621679512568 Source #
data FromJustSym0 :: forall a6989586621679512370. (~>) (Maybe a6989586621679512370) a6989586621679512370 Source #
Instances
| SingI (FromJustSym0 :: TyFun (Maybe a) a -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing FromJustSym0 Source # | |
| SuppressUnusedWarnings (FromJustSym0 :: TyFun (Maybe a6989586621679512370) a6989586621679512370 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (FromJustSym0 :: TyFun (Maybe a) a -> Type) (a6989586621679512565 :: Maybe a) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (FromJustSym0 :: TyFun (Maybe a) a -> Type) (a6989586621679512565 :: Maybe a) = FromJust a6989586621679512565 | |
type FromJustSym1 (a6989586621679512565 :: Maybe a6989586621679512370) = FromJust a6989586621679512565 Source #
data FromMaybeSym0 :: forall a6989586621679512369. (~>) a6989586621679512369 ((~>) (Maybe a6989586621679512369) a6989586621679512369) Source #
Instances
| SingI (FromMaybeSym0 :: TyFun a (Maybe a ~> a) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing FromMaybeSym0 Source # | |
| SuppressUnusedWarnings (FromMaybeSym0 :: TyFun a6989586621679512369 (Maybe a6989586621679512369 ~> a6989586621679512369) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (FromMaybeSym0 :: TyFun a6989586621679512369 (Maybe a6989586621679512369 ~> a6989586621679512369) -> Type) (a6989586621679512555 :: a6989586621679512369) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (FromMaybeSym0 :: TyFun a6989586621679512369 (Maybe a6989586621679512369 ~> a6989586621679512369) -> Type) (a6989586621679512555 :: a6989586621679512369) = FromMaybeSym1 a6989586621679512555 | |
data FromMaybeSym1 (a6989586621679512555 :: a6989586621679512369) :: (~>) (Maybe a6989586621679512369) a6989586621679512369 Source #
Instances
| SingI d => SingI (FromMaybeSym1 d :: TyFun (Maybe a) a -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing (FromMaybeSym1 d) Source # | |
| SuppressUnusedWarnings (FromMaybeSym1 a6989586621679512555 :: TyFun (Maybe a6989586621679512369) a6989586621679512369 -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (FromMaybeSym1 a6989586621679512555 :: TyFun (Maybe a) a -> Type) (a6989586621679512556 :: Maybe a) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (FromMaybeSym1 a6989586621679512555 :: TyFun (Maybe a) a -> Type) (a6989586621679512556 :: Maybe a) = FromMaybe a6989586621679512555 a6989586621679512556 | |
type FromMaybeSym2 (a6989586621679512555 :: a6989586621679512369) (a6989586621679512556 :: Maybe a6989586621679512369) = FromMaybe a6989586621679512555 a6989586621679512556 Source #
data ListToMaybeSym0 :: forall a6989586621679512367. (~>) [a6989586621679512367] (Maybe a6989586621679512367) Source #
Instances
| SingI (ListToMaybeSym0 :: TyFun [a] (Maybe a) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods | |
| SuppressUnusedWarnings (ListToMaybeSym0 :: TyFun [a6989586621679512367] (Maybe a6989586621679512367) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (ListToMaybeSym0 :: TyFun [a] (Maybe a) -> Type) (a6989586621679512549 :: [a]) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (ListToMaybeSym0 :: TyFun [a] (Maybe a) -> Type) (a6989586621679512549 :: [a]) = ListToMaybe a6989586621679512549 | |
type ListToMaybeSym1 (a6989586621679512549 :: [a6989586621679512367]) = ListToMaybe a6989586621679512549 Source #
data MaybeToListSym0 :: forall a6989586621679512368. (~>) (Maybe a6989586621679512368) [a6989586621679512368] Source #
Instances
| SingI (MaybeToListSym0 :: TyFun (Maybe a) [a] -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods | |
| SuppressUnusedWarnings (MaybeToListSym0 :: TyFun (Maybe a6989586621679512368) [a6989586621679512368] -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (MaybeToListSym0 :: TyFun (Maybe a) [a] -> Type) (a6989586621679512552 :: Maybe a) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (MaybeToListSym0 :: TyFun (Maybe a) [a] -> Type) (a6989586621679512552 :: Maybe a) = MaybeToList a6989586621679512552 | |
type MaybeToListSym1 (a6989586621679512552 :: Maybe a6989586621679512368) = MaybeToList a6989586621679512552 Source #
data CatMaybesSym0 :: forall a6989586621679512366. (~>) [Maybe a6989586621679512366] [a6989586621679512366] Source #
Instances
| SingI (CatMaybesSym0 :: TyFun [Maybe a] [a] -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing CatMaybesSym0 Source # | |
| SuppressUnusedWarnings (CatMaybesSym0 :: TyFun [Maybe a6989586621679512366] [a6989586621679512366] -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (CatMaybesSym0 :: TyFun [Maybe a] [a] -> Type) (a6989586621679512544 :: [Maybe a]) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (CatMaybesSym0 :: TyFun [Maybe a] [a] -> Type) (a6989586621679512544 :: [Maybe a]) = CatMaybes a6989586621679512544 | |
type CatMaybesSym1 (a6989586621679512544 :: [Maybe a6989586621679512366]) = CatMaybes a6989586621679512544 Source #
data MapMaybeSym0 :: forall a6989586621679512364 b6989586621679512365. (~>) ((~>) a6989586621679512364 (Maybe b6989586621679512365)) ((~>) [a6989586621679512364] [b6989586621679512365]) Source #
Instances
| SingI (MapMaybeSym0 :: TyFun (a ~> Maybe b) ([a] ~> [b]) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing MapMaybeSym0 Source # | |
| SuppressUnusedWarnings (MapMaybeSym0 :: TyFun (a6989586621679512364 ~> Maybe b6989586621679512365) ([a6989586621679512364] ~> [b6989586621679512365]) -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (MapMaybeSym0 :: TyFun (a6989586621679512364 ~> Maybe b6989586621679512365) ([a6989586621679512364] ~> [b6989586621679512365]) -> Type) (a6989586621679512525 :: a6989586621679512364 ~> Maybe b6989586621679512365) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (MapMaybeSym0 :: TyFun (a6989586621679512364 ~> Maybe b6989586621679512365) ([a6989586621679512364] ~> [b6989586621679512365]) -> Type) (a6989586621679512525 :: a6989586621679512364 ~> Maybe b6989586621679512365) = MapMaybeSym1 a6989586621679512525 | |
data MapMaybeSym1 (a6989586621679512525 :: (~>) a6989586621679512364 (Maybe b6989586621679512365)) :: (~>) [a6989586621679512364] [b6989586621679512365] Source #
Instances
| SingI d => SingI (MapMaybeSym1 d :: TyFun [a] [b] -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods sing :: Sing (MapMaybeSym1 d) Source # | |
| SuppressUnusedWarnings (MapMaybeSym1 a6989586621679512525 :: TyFun [a6989586621679512364] [b6989586621679512365] -> Type) Source # | |
Defined in Data.Singletons.Prelude.Maybe Methods suppressUnusedWarnings :: () Source # | |
| type Apply (MapMaybeSym1 a6989586621679512525 :: TyFun [a] [b] -> Type) (a6989586621679512526 :: [a]) Source # | |
Defined in Data.Singletons.Prelude.Maybe type Apply (MapMaybeSym1 a6989586621679512525 :: TyFun [a] [b] -> Type) (a6989586621679512526 :: [a]) = MapMaybe a6989586621679512525 a6989586621679512526 | |
type MapMaybeSym2 (a6989586621679512525 :: (~>) a6989586621679512364 (Maybe b6989586621679512365)) (a6989586621679512526 :: [a6989586621679512364]) = MapMaybe a6989586621679512525 a6989586621679512526 Source #