Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type family TyCont r (a :: Type) where ...
- type TyContSym2 (r6989586621679058218 :: Type) (a6989586621679060060 :: Type) = TyCont r6989586621679058218 a6989586621679060060
- data TyContSym1 (r6989586621679058218 :: Type) :: (~>) Type Type where
- TyContSym1KindInference :: forall r6989586621679058218 a6989586621679060060 arg. SameKind (Apply (TyContSym1 r6989586621679058218) arg) (TyContSym2 r6989586621679058218 arg) => TyContSym1 r6989586621679058218 a6989586621679060060
- data TyContSym0 :: (~>) Type ((~>) Type Type) where
- TyContSym0KindInference :: forall r6989586621679058218 arg. SameKind (Apply TyContSym0 arg) (TyContSym1 arg) => TyContSym0 r6989586621679058218
- type family TyCont2 r (a1 :: Type) (a2 :: Type) where ...
- type TyCont2Sym3 (r6989586621679070803 :: Type) (a16989586621679070804 :: Type) (a26989586621679070805 :: Type) = TyCont2 r6989586621679070803 a16989586621679070804 a26989586621679070805
- data TyCont2Sym2 (r6989586621679070803 :: Type) (a16989586621679070804 :: Type) :: (~>) Type Type where
- TyCont2Sym2KindInference :: forall r6989586621679070803 a16989586621679070804 a26989586621679070805 arg. SameKind (Apply (TyCont2Sym2 r6989586621679070803 a16989586621679070804) arg) (TyCont2Sym3 r6989586621679070803 a16989586621679070804 arg) => TyCont2Sym2 r6989586621679070803 a16989586621679070804 a26989586621679070805
- data TyCont2Sym1 (r6989586621679070803 :: Type) :: (~>) Type ((~>) Type Type) where
- TyCont2Sym1KindInference :: forall r6989586621679070803 a16989586621679070804 arg. SameKind (Apply (TyCont2Sym1 r6989586621679070803) arg) (TyCont2Sym2 r6989586621679070803 arg) => TyCont2Sym1 r6989586621679070803 a16989586621679070804
- data TyCont2Sym0 :: (~>) Type ((~>) Type ((~>) Type Type)) where
- TyCont2Sym0KindInference :: forall r6989586621679070803 arg. SameKind (Apply TyCont2Sym0 arg) (TyCont2Sym1 arg) => TyCont2Sym0 r6989586621679070803
- type family TyCont3 r (a1 :: Type) (a2 :: Type) (a3 :: Type) where ...
- type TyCont3Sym4 (r6989586621679127059 :: Type) (a16989586621679127060 :: Type) (a26989586621679127061 :: Type) (a36989586621679127062 :: Type) = TyCont3 r6989586621679127059 a16989586621679127060 a26989586621679127061 a36989586621679127062
- data TyCont3Sym3 (r6989586621679127059 :: Type) (a16989586621679127060 :: Type) (a26989586621679127061 :: Type) :: (~>) Type Type where
- TyCont3Sym3KindInference :: forall r6989586621679127059 a16989586621679127060 a26989586621679127061 a36989586621679127062 arg. SameKind (Apply (TyCont3Sym3 r6989586621679127059 a16989586621679127060 a26989586621679127061) arg) (TyCont3Sym4 r6989586621679127059 a16989586621679127060 a26989586621679127061 arg) => TyCont3Sym3 r6989586621679127059 a16989586621679127060 a26989586621679127061 a36989586621679127062
- data TyCont3Sym2 (r6989586621679127059 :: Type) (a16989586621679127060 :: Type) :: (~>) Type ((~>) Type Type) where
- TyCont3Sym2KindInference :: forall r6989586621679127059 a16989586621679127060 a26989586621679127061 arg. SameKind (Apply (TyCont3Sym2 r6989586621679127059 a16989586621679127060) arg) (TyCont3Sym3 r6989586621679127059 a16989586621679127060 arg) => TyCont3Sym2 r6989586621679127059 a16989586621679127060 a26989586621679127061
- data TyCont3Sym1 (r6989586621679127059 :: Type) :: (~>) Type ((~>) Type ((~>) Type Type)) where
- TyCont3Sym1KindInference :: forall r6989586621679127059 a16989586621679127060 arg. SameKind (Apply (TyCont3Sym1 r6989586621679127059) arg) (TyCont3Sym2 r6989586621679127059 arg) => TyCont3Sym1 r6989586621679127059 a16989586621679127060
- data TyCont3Sym0 :: (~>) Type ((~>) Type ((~>) Type ((~>) Type Type))) where
- TyCont3Sym0KindInference :: forall r6989586621679127059 arg. SameKind (Apply TyCont3Sym0 arg) (TyCont3Sym1 arg) => TyCont3Sym0 r6989586621679127059
- type family Ap (a :: (~>) x ((~>) y z)) (a :: (~>) x y) (a :: x) :: z where ...
- type ApSym3 (a6989586621679127912 :: (~>) x6989586621679127905 ((~>) y6989586621679127906 z6989586621679127907)) (a6989586621679127913 :: (~>) x6989586621679127905 y6989586621679127906) (a6989586621679127914 :: x6989586621679127905) = Ap a6989586621679127912 a6989586621679127913 a6989586621679127914
- data ApSym2 (a6989586621679127912 :: (~>) x6989586621679127905 ((~>) y6989586621679127906 z6989586621679127907)) (a6989586621679127913 :: (~>) x6989586621679127905 y6989586621679127906) :: (~>) x6989586621679127905 z6989586621679127907 where
- data ApSym1 (a6989586621679127912 :: (~>) x6989586621679127905 ((~>) y6989586621679127906 z6989586621679127907)) :: (~>) ((~>) x6989586621679127905 y6989586621679127906) ((~>) x6989586621679127905 z6989586621679127907) where
- data ApSym0 :: forall x6989586621679127905 y6989586621679127906 z6989586621679127907. (~>) ((~>) x6989586621679127905 ((~>) y6989586621679127906 z6989586621679127907)) ((~>) ((~>) x6989586621679127905 y6989586621679127906) ((~>) x6989586621679127905 z6989586621679127907)) where
- sAp :: forall x y z (t :: (~>) x ((~>) y z)) (t :: (~>) x y) (t :: x). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply ApSym0 t) t) t :: z)
- ap :: (x -> y -> z) -> (x -> y) -> x -> z
- newtype CxtW c a = CxtW {
- unCxtW :: c => a
- type family ConstrainList (cc :: [Constraint]) :: Constraint where ...
- type family NullC (t :: k) :: Constraint where ...
- type NullCSym1 (t6989586621679127945 :: k6989586621679127944) = NullC t6989586621679127945
- data NullCSym0 :: forall k6989586621679127944. (~>) k6989586621679127944 Constraint where
- type family NullC2 (t :: k) (t' :: k') :: Constraint where ...
- type NullC2Sym2 (t6989586621679128932 :: k6989586621679128930) (t'6989586621679128933 :: k'6989586621679128931) = NullC2 t6989586621679128932 t'6989586621679128933
- data NullC2Sym1 (t6989586621679128932 :: k6989586621679128930) :: forall k'6989586621679128931. (~>) k'6989586621679128931 Constraint where
- NullC2Sym1KindInference :: forall t6989586621679128932 t'6989586621679128933 arg. SameKind (Apply (NullC2Sym1 t6989586621679128932) arg) (NullC2Sym2 t6989586621679128932 arg) => NullC2Sym1 t6989586621679128932 t'6989586621679128933
- data NullC2Sym0 :: forall k'6989586621679128931 k6989586621679128930. (~>) k6989586621679128930 ((~>) k'6989586621679128931 Constraint) where
- NullC2Sym0KindInference :: forall t6989586621679128932 arg. SameKind (Apply NullC2Sym0 arg) (NullC2Sym1 arg) => NullC2Sym0 t6989586621679128932
- type family AndC c0 c1 :: Constraint where ...
- type AndCSym2 (c06989586621679129083 :: Constraint) (c16989586621679129084 :: Constraint) = AndC c06989586621679129083 c16989586621679129084
- data AndCSym1 (c06989586621679129083 :: Constraint) :: (~>) Constraint Constraint where
- data AndCSym0 :: (~>) Constraint ((~>) Constraint Constraint) where
- type AndC1 c0 c1 = ApSym2 (AndCSym0 .@#@$$$ c0) c1
- type AndC2 c0 c1 = ApSym2 (ApSym0 .@#@$$$ ((.@#@$$) AndCSym0 .@#@$$$ c0)) c1
- type family Class2 c0 c1 t t' where ...
- type Class2Sym4 (c06989586621679129378 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) (c16989586621679129379 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) (t6989586621679129380 :: k16989586621679129616) (t'6989586621679129381 :: k16989586621679129614) = Class2 c06989586621679129378 c16989586621679129379 t6989586621679129380 t'6989586621679129381
- data Class2Sym3 (c06989586621679129378 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) (c16989586621679129379 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) (t6989586621679129380 :: k16989586621679129616) :: (~>) k16989586621679129614 Constraint where
- Class2Sym3KindInference :: forall c06989586621679129378 c16989586621679129379 t6989586621679129380 t'6989586621679129381 arg. SameKind (Apply (Class2Sym3 c06989586621679129378 c16989586621679129379 t6989586621679129380) arg) (Class2Sym4 c06989586621679129378 c16989586621679129379 t6989586621679129380 arg) => Class2Sym3 c06989586621679129378 c16989586621679129379 t6989586621679129380 t'6989586621679129381
- data Class2Sym2 (c06989586621679129378 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) (c16989586621679129379 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint) where
- Class2Sym2KindInference :: forall c06989586621679129378 c16989586621679129379 t6989586621679129380 arg. SameKind (Apply (Class2Sym2 c06989586621679129378 c16989586621679129379) arg) (Class2Sym3 c06989586621679129378 c16989586621679129379 arg) => Class2Sym2 c06989586621679129378 c16989586621679129379 t6989586621679129380
- data Class2Sym1 (c06989586621679129378 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) :: (~>) ((~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) ((~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) where
- Class2Sym1KindInference :: forall c06989586621679129378 c16989586621679129379 arg. SameKind (Apply (Class2Sym1 c06989586621679129378) arg) (Class2Sym2 c06989586621679129378 arg) => Class2Sym1 c06989586621679129378 c16989586621679129379
- data Class2Sym0 :: forall k16989586621679129614 k16989586621679129616. (~>) ((~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) ((~>) ((~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) ((~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint))) where
- Class2Sym0KindInference :: forall c06989586621679129378 arg. SameKind (Apply Class2Sym0 arg) (Class2Sym1 arg) => Class2Sym0 c06989586621679129378
- type family LookupKV_If (a :: k) (a :: k) (a :: [k]) (a :: v) (a :: [v]) (a :: Bool) :: Maybe (k, v) where ...
- data LookupKVSym0 :: forall k6989586621679130586 v6989586621679130587. (~>) k6989586621679130586 ((~>) [k6989586621679130586] ((~>) [v6989586621679130587] (Maybe (k6989586621679130586, v6989586621679130587)))) where
- LookupKVSym0KindInference :: forall a6989586621679135078 arg. SameKind (Apply LookupKVSym0 arg) (LookupKVSym1 arg) => LookupKVSym0 a6989586621679135078
- data LookupKVSym1 (a6989586621679135078 :: k6989586621679130586) :: forall v6989586621679130587. (~>) [k6989586621679130586] ((~>) [v6989586621679130587] (Maybe (k6989586621679130586, v6989586621679130587))) where
- LookupKVSym1KindInference :: forall a6989586621679135078 a6989586621679135079 arg. SameKind (Apply (LookupKVSym1 a6989586621679135078) arg) (LookupKVSym2 a6989586621679135078 arg) => LookupKVSym1 a6989586621679135078 a6989586621679135079
- data LookupKVSym2 (a6989586621679135078 :: k6989586621679130586) (a6989586621679135079 :: [k6989586621679130586]) :: forall v6989586621679130587. (~>) [v6989586621679130587] (Maybe (k6989586621679130586, v6989586621679130587)) where
- LookupKVSym2KindInference :: forall a6989586621679135078 a6989586621679135079 a6989586621679135080 arg. SameKind (Apply (LookupKVSym2 a6989586621679135078 a6989586621679135079) arg) (LookupKVSym3 a6989586621679135078 a6989586621679135079 arg) => LookupKVSym2 a6989586621679135078 a6989586621679135079 a6989586621679135080
- type LookupKVSym3 (a6989586621679135078 :: k6989586621679130586) (a6989586621679135079 :: [k6989586621679130586]) (a6989586621679135080 :: [v6989586621679130587]) = LookupKV a6989586621679135078 a6989586621679135079 a6989586621679135080
- type family LookupKV (a :: k) (a :: [k]) (a :: [v]) :: Maybe (k, v) where ...
- data LookupKV_IfSym0 :: forall k6989586621679130584 v6989586621679130585. (~>) k6989586621679130584 ((~>) k6989586621679130584 ((~>) [k6989586621679130584] ((~>) v6989586621679130585 ((~>) [v6989586621679130585] ((~>) Bool (Maybe (k6989586621679130584, v6989586621679130585))))))) where
- LookupKV_IfSym0KindInference :: forall a6989586621679135090 arg. SameKind (Apply LookupKV_IfSym0 arg) (LookupKV_IfSym1 arg) => LookupKV_IfSym0 a6989586621679135090
- data LookupKV_IfSym1 (a6989586621679135090 :: k6989586621679130584) :: forall v6989586621679130585. (~>) k6989586621679130584 ((~>) [k6989586621679130584] ((~>) v6989586621679130585 ((~>) [v6989586621679130585] ((~>) Bool (Maybe (k6989586621679130584, v6989586621679130585)))))) where
- LookupKV_IfSym1KindInference :: forall a6989586621679135090 a6989586621679135091 arg. SameKind (Apply (LookupKV_IfSym1 a6989586621679135090) arg) (LookupKV_IfSym2 a6989586621679135090 arg) => LookupKV_IfSym1 a6989586621679135090 a6989586621679135091
- data LookupKV_IfSym2 (a6989586621679135090 :: k6989586621679130584) (a6989586621679135091 :: k6989586621679130584) :: forall v6989586621679130585. (~>) [k6989586621679130584] ((~>) v6989586621679130585 ((~>) [v6989586621679130585] ((~>) Bool (Maybe (k6989586621679130584, v6989586621679130585))))) where
- LookupKV_IfSym2KindInference :: forall a6989586621679135090 a6989586621679135091 a6989586621679135092 arg. SameKind (Apply (LookupKV_IfSym2 a6989586621679135090 a6989586621679135091) arg) (LookupKV_IfSym3 a6989586621679135090 a6989586621679135091 arg) => LookupKV_IfSym2 a6989586621679135090 a6989586621679135091 a6989586621679135092
- data LookupKV_IfSym3 (a6989586621679135090 :: k6989586621679130584) (a6989586621679135091 :: k6989586621679130584) (a6989586621679135092 :: [k6989586621679130584]) :: forall v6989586621679130585. (~>) v6989586621679130585 ((~>) [v6989586621679130585] ((~>) Bool (Maybe (k6989586621679130584, v6989586621679130585)))) where
- LookupKV_IfSym3KindInference :: forall a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 arg. SameKind (Apply (LookupKV_IfSym3 a6989586621679135090 a6989586621679135091 a6989586621679135092) arg) (LookupKV_IfSym4 a6989586621679135090 a6989586621679135091 a6989586621679135092 arg) => LookupKV_IfSym3 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093
- data LookupKV_IfSym4 (a6989586621679135090 :: k6989586621679130584) (a6989586621679135091 :: k6989586621679130584) (a6989586621679135092 :: [k6989586621679130584]) (a6989586621679135093 :: v6989586621679130585) :: (~>) [v6989586621679130585] ((~>) Bool (Maybe (k6989586621679130584, v6989586621679130585))) where
- LookupKV_IfSym4KindInference :: forall a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094 arg. SameKind (Apply (LookupKV_IfSym4 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093) arg) (LookupKV_IfSym5 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 arg) => LookupKV_IfSym4 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094
- data LookupKV_IfSym5 (a6989586621679135090 :: k6989586621679130584) (a6989586621679135091 :: k6989586621679130584) (a6989586621679135092 :: [k6989586621679130584]) (a6989586621679135093 :: v6989586621679130585) (a6989586621679135094 :: [v6989586621679130585]) :: (~>) Bool (Maybe (k6989586621679130584, v6989586621679130585)) where
- LookupKV_IfSym5KindInference :: forall a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094 a6989586621679135095 arg. SameKind (Apply (LookupKV_IfSym5 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094) arg) (LookupKV_IfSym6 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094 arg) => LookupKV_IfSym5 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094 a6989586621679135095
- type LookupKV_IfSym6 (a6989586621679135090 :: k6989586621679130584) (a6989586621679135091 :: k6989586621679130584) (a6989586621679135092 :: [k6989586621679130584]) (a6989586621679135093 :: v6989586621679130585) (a6989586621679135094 :: [v6989586621679130585]) (a6989586621679135095 :: Bool) = LookupKV_If a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094 a6989586621679135095
- sLookupKV_If :: forall k v (t :: k) (t :: k) (t :: [k]) (t :: v) (t :: [v]) (t :: Bool). SEq k => Sing t -> Sing t -> Sing t -> Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply (Apply (Apply (Apply LookupKV_IfSym0 t) t) t) t) t) t :: Maybe (k, v))
- sLookupKV :: forall k v (t :: k) (t :: [k]) (t :: [v]). SEq k => Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LookupKVSym0 t) t) t :: Maybe (k, v))
- lookupKV_If :: Eq k => k -> k -> [k] -> v -> [v] -> Bool -> Maybe (k, v)
- lookupKV :: Eq k => k -> [k] -> [v] -> Maybe (k, v)
- class Fmap (FmapSym1 f) (LookupKV k kk vv) ~ LookupKV k kk (Fmap f vv) => ProofLookupKV f k (kk :: [kt]) vv
- class Fmap (FmapSym1 f) (LookupKV_If k k' kk v' vv eq) ~ LookupKV_If k k' kk (f @@ v') (Fmap f vv) eq => ProofLookupKV_If f (k :: kt) k' kk v' vv eq
- data TMaybe (t :: Maybe k) where
- data TCTab (c :: kt ~> (Type ~> Constraint)) (kk :: [kt]) (vv :: [Type]) :: Type where
- type TCTab' c = TCTab (ConstSym1 (TyCon1 c))
- type TTab = TCTab NullC2Sym0
- data TCMaybe c (t :: Maybe (kt, Type)) where
- lookupTC :: forall kt c f (k :: kt) (kk :: [kt]) vv. SEq kt => Sing k -> TCTab c kk vv -> (TCMaybe c (LookupKV k kk vv), Dict (ProofLookupKV f k kk vv))
- lookupTC2 :: forall kt c0 c1 f (k :: kt) (kk :: [kt]) vv. SEq kt => Sing k -> TCTab c0 kk vv -> TCTab c1 kk (Fmap f vv) -> (TCMaybe c0 (LookupKV k kk vv), TCMaybe c1 (Fmap (FmapSym1 f) (LookupKV k kk vv)))
- zipWithTC :: forall kt c0 c1 cr f1 r (kk :: [kt]) vv. TCTab c0 kk vv -> TCTab c1 kk (Fmap f1 vv) -> (forall k0 k1 v. (c0 @@ k0) @@ v => (c1 @@ k1) @@ (f1 @@ v) => Sing k0 -> v -> Sing k1 -> (f1 @@ v) -> (r @@ v, Dict ((cr @@ k0) @@ (r @@ v)))) -> TCTab cr kk (Fmap r vv)
- zipWith3TC :: forall kt c0 c1 c2 cr f1 f2 r (kk :: [kt]) vv. TCTab c0 kk vv -> TCTab c1 kk (Fmap f1 vv) -> TCTab c2 kk (Fmap f2 vv) -> (forall k0 k1 k2 v. (c0 @@ k0) @@ v => (c1 @@ k1) @@ (f1 @@ v) => (c2 @@ k2) @@ (f2 @@ v) => Sing k0 -> v -> Sing k1 -> (f1 @@ v) -> Sing k2 -> (f2 @@ v) -> (r @@ v, Dict ((cr @@ k0) @@ (r @@ v)))) -> TCTab cr kk (Fmap r vv)
- type DictOf c = TyCon1 Dict .@#@$$$ c
- withTCDict :: forall kt c0 c (kk :: [kt]) vv r. TCTab c0 kk vv -> TTab kk (Fmap (DictOf c) vv) -> (ConstrainList (Fmap c vv) => r) -> r
- toTCDict :: forall kt c0 c (kk :: [kt]) vv. ConstrainList (Fmap c vv) => TCTab c0 kk vv -> TTab kk (Fmap (DictOf c) vv)
- weakenTC :: forall kt c0 c1 (kk :: [kt]) vv. ConstrainList (ZipWith (Class2Sym2 c1 c0) kk vv) => TCTab c0 kk vv -> TCTab c1 kk vv
- strengthenTC :: forall kt c0 c1 (kk :: [kt]) vv. ConstrainList (ZipWith c1 kk vv) => TCTab c0 kk vv -> TCTab (AndC2 c0 c1) kk vv
- strengthenTC0 :: forall kt c1 (kk :: [kt]) vv. ConstrainList (ZipWith c1 kk vv) => TTab kk vv -> TCTab c1 kk vv
Documentation
type family TyCont r (a :: Type) where ... Source #
Type family representing the type of a continuation.
TyCont r a = a -> r |
type TyContSym2 (r6989586621679058218 :: Type) (a6989586621679060060 :: Type) = TyCont r6989586621679058218 a6989586621679060060 Source #
data TyContSym1 (r6989586621679058218 :: Type) :: (~>) Type Type where Source #
TyContSym1KindInference :: forall r6989586621679058218 a6989586621679060060 arg. SameKind (Apply (TyContSym1 r6989586621679058218) arg) (TyContSym2 r6989586621679058218 arg) => TyContSym1 r6989586621679058218 a6989586621679060060 |
Instances
SuppressUnusedWarnings (TyContSym1 r6989586621679058218 :: TyFun Type Type -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (TyContSym1 r6989586621679058218 :: TyFun Type Type -> Type) (a6989586621679060060 :: Type) Source # | |
Defined in Control.Static.Common |
data TyContSym0 :: (~>) Type ((~>) Type Type) where Source #
TyContSym0KindInference :: forall r6989586621679058218 arg. SameKind (Apply TyContSym0 arg) (TyContSym1 arg) => TyContSym0 r6989586621679058218 |
Instances
SuppressUnusedWarnings TyContSym0 Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply TyContSym0 (r6989586621679058218 :: Type) Source # | |
Defined in Control.Static.Common |
type family TyCont2 r (a1 :: Type) (a2 :: Type) where ... Source #
Type family representing the type of a continuation of 2 args.
TyCont2 r a1 a2 = a1 -> a2 -> r |
type TyCont2Sym3 (r6989586621679070803 :: Type) (a16989586621679070804 :: Type) (a26989586621679070805 :: Type) = TyCont2 r6989586621679070803 a16989586621679070804 a26989586621679070805 Source #
data TyCont2Sym2 (r6989586621679070803 :: Type) (a16989586621679070804 :: Type) :: (~>) Type Type where Source #
TyCont2Sym2KindInference :: forall r6989586621679070803 a16989586621679070804 a26989586621679070805 arg. SameKind (Apply (TyCont2Sym2 r6989586621679070803 a16989586621679070804) arg) (TyCont2Sym3 r6989586621679070803 a16989586621679070804 arg) => TyCont2Sym2 r6989586621679070803 a16989586621679070804 a26989586621679070805 |
Instances
SuppressUnusedWarnings (TyCont2Sym2 a16989586621679070804 r6989586621679070803 :: TyFun Type Type -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (TyCont2Sym2 a16989586621679070804 r6989586621679070803 :: TyFun Type Type -> Type) (a26989586621679070805 :: Type) Source # | |
Defined in Control.Static.Common |
data TyCont2Sym1 (r6989586621679070803 :: Type) :: (~>) Type ((~>) Type Type) where Source #
TyCont2Sym1KindInference :: forall r6989586621679070803 a16989586621679070804 arg. SameKind (Apply (TyCont2Sym1 r6989586621679070803) arg) (TyCont2Sym2 r6989586621679070803 arg) => TyCont2Sym1 r6989586621679070803 a16989586621679070804 |
Instances
SuppressUnusedWarnings (TyCont2Sym1 r6989586621679070803 :: TyFun Type (Type ~> Type) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (TyCont2Sym1 r6989586621679070803 :: TyFun Type (Type ~> Type) -> Type) (a16989586621679070804 :: Type) Source # | |
Defined in Control.Static.Common type Apply (TyCont2Sym1 r6989586621679070803 :: TyFun Type (Type ~> Type) -> Type) (a16989586621679070804 :: Type) = TyCont2Sym2 r6989586621679070803 a16989586621679070804 |
data TyCont2Sym0 :: (~>) Type ((~>) Type ((~>) Type Type)) where Source #
TyCont2Sym0KindInference :: forall r6989586621679070803 arg. SameKind (Apply TyCont2Sym0 arg) (TyCont2Sym1 arg) => TyCont2Sym0 r6989586621679070803 |
Instances
SuppressUnusedWarnings TyCont2Sym0 Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply TyCont2Sym0 (r6989586621679070803 :: Type) Source # | |
Defined in Control.Static.Common |
type family TyCont3 r (a1 :: Type) (a2 :: Type) (a3 :: Type) where ... Source #
Type family representing the type of a continuation of 3 args.
TyCont3 r a1 a2 a3 = a1 -> a2 -> a3 -> r |
type TyCont3Sym4 (r6989586621679127059 :: Type) (a16989586621679127060 :: Type) (a26989586621679127061 :: Type) (a36989586621679127062 :: Type) = TyCont3 r6989586621679127059 a16989586621679127060 a26989586621679127061 a36989586621679127062 Source #
data TyCont3Sym3 (r6989586621679127059 :: Type) (a16989586621679127060 :: Type) (a26989586621679127061 :: Type) :: (~>) Type Type where Source #
TyCont3Sym3KindInference :: forall r6989586621679127059 a16989586621679127060 a26989586621679127061 a36989586621679127062 arg. SameKind (Apply (TyCont3Sym3 r6989586621679127059 a16989586621679127060 a26989586621679127061) arg) (TyCont3Sym4 r6989586621679127059 a16989586621679127060 a26989586621679127061 arg) => TyCont3Sym3 r6989586621679127059 a16989586621679127060 a26989586621679127061 a36989586621679127062 |
Instances
SuppressUnusedWarnings (TyCont3Sym3 a26989586621679127061 a16989586621679127060 r6989586621679127059 :: TyFun Type Type -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (TyCont3Sym3 a26989586621679127061 a16989586621679127060 r6989586621679127059 :: TyFun Type Type -> Type) (a36989586621679127062 :: Type) Source # | |
Defined in Control.Static.Common |
data TyCont3Sym2 (r6989586621679127059 :: Type) (a16989586621679127060 :: Type) :: (~>) Type ((~>) Type Type) where Source #
TyCont3Sym2KindInference :: forall r6989586621679127059 a16989586621679127060 a26989586621679127061 arg. SameKind (Apply (TyCont3Sym2 r6989586621679127059 a16989586621679127060) arg) (TyCont3Sym3 r6989586621679127059 a16989586621679127060 arg) => TyCont3Sym2 r6989586621679127059 a16989586621679127060 a26989586621679127061 |
Instances
SuppressUnusedWarnings (TyCont3Sym2 a16989586621679127060 r6989586621679127059 :: TyFun Type (Type ~> Type) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (TyCont3Sym2 a16989586621679127060 r6989586621679127059 :: TyFun Type (Type ~> Type) -> Type) (a26989586621679127061 :: Type) Source # | |
Defined in Control.Static.Common type Apply (TyCont3Sym2 a16989586621679127060 r6989586621679127059 :: TyFun Type (Type ~> Type) -> Type) (a26989586621679127061 :: Type) = TyCont3Sym3 a16989586621679127060 r6989586621679127059 a26989586621679127061 |
data TyCont3Sym1 (r6989586621679127059 :: Type) :: (~>) Type ((~>) Type ((~>) Type Type)) where Source #
TyCont3Sym1KindInference :: forall r6989586621679127059 a16989586621679127060 arg. SameKind (Apply (TyCont3Sym1 r6989586621679127059) arg) (TyCont3Sym2 r6989586621679127059 arg) => TyCont3Sym1 r6989586621679127059 a16989586621679127060 |
Instances
SuppressUnusedWarnings (TyCont3Sym1 r6989586621679127059 :: TyFun Type (Type ~> (Type ~> Type)) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (TyCont3Sym1 r6989586621679127059 :: TyFun Type (Type ~> (Type ~> Type)) -> Type) (a16989586621679127060 :: Type) Source # | |
Defined in Control.Static.Common |
data TyCont3Sym0 :: (~>) Type ((~>) Type ((~>) Type ((~>) Type Type))) where Source #
TyCont3Sym0KindInference :: forall r6989586621679127059 arg. SameKind (Apply TyCont3Sym0 arg) (TyCont3Sym1 arg) => TyCont3Sym0 r6989586621679127059 |
Instances
SuppressUnusedWarnings TyCont3Sym0 Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply TyCont3Sym0 (r6989586621679127059 :: Type) Source # | |
Defined in Control.Static.Common |
type ApSym3 (a6989586621679127912 :: (~>) x6989586621679127905 ((~>) y6989586621679127906 z6989586621679127907)) (a6989586621679127913 :: (~>) x6989586621679127905 y6989586621679127906) (a6989586621679127914 :: x6989586621679127905) = Ap a6989586621679127912 a6989586621679127913 a6989586621679127914 Source #
data ApSym2 (a6989586621679127912 :: (~>) x6989586621679127905 ((~>) y6989586621679127906 z6989586621679127907)) (a6989586621679127913 :: (~>) x6989586621679127905 y6989586621679127906) :: (~>) x6989586621679127905 z6989586621679127907 where Source #
ApSym2KindInference :: forall a6989586621679127912 a6989586621679127913 a6989586621679127914 arg. SameKind (Apply (ApSym2 a6989586621679127912 a6989586621679127913) arg) (ApSym3 a6989586621679127912 a6989586621679127913 arg) => ApSym2 a6989586621679127912 a6989586621679127913 a6989586621679127914 |
Instances
SuppressUnusedWarnings (ApSym2 a6989586621679127913 a6989586621679127912 :: TyFun x6989586621679127905 z6989586621679127907 -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
(SingI d1, SingI d2) => SingI (ApSym2 d1 d2 :: TyFun x z -> Type) Source # | |
Defined in Control.Static.Common | |
type Apply (ApSym2 a6989586621679127913 a6989586621679127912 :: TyFun x z -> Type) (a6989586621679127914 :: x) Source # | |
data ApSym1 (a6989586621679127912 :: (~>) x6989586621679127905 ((~>) y6989586621679127906 z6989586621679127907)) :: (~>) ((~>) x6989586621679127905 y6989586621679127906) ((~>) x6989586621679127905 z6989586621679127907) where Source #
ApSym1KindInference :: forall a6989586621679127912 a6989586621679127913 arg. SameKind (Apply (ApSym1 a6989586621679127912) arg) (ApSym2 a6989586621679127912 arg) => ApSym1 a6989586621679127912 a6989586621679127913 |
Instances
SuppressUnusedWarnings (ApSym1 a6989586621679127912 :: TyFun (x6989586621679127905 ~> y6989586621679127906) (x6989586621679127905 ~> z6989586621679127907) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
SingI d => SingI (ApSym1 d :: TyFun (x ~> y) (x ~> z) -> Type) Source # | |
Defined in Control.Static.Common | |
type Apply (ApSym1 a6989586621679127912 :: TyFun (x6989586621679127905 ~> y6989586621679127906) (x6989586621679127905 ~> z6989586621679127907) -> Type) (a6989586621679127913 :: x6989586621679127905 ~> y6989586621679127906) Source # | |
Defined in Control.Static.Common |
data ApSym0 :: forall x6989586621679127905 y6989586621679127906 z6989586621679127907. (~>) ((~>) x6989586621679127905 ((~>) y6989586621679127906 z6989586621679127907)) ((~>) ((~>) x6989586621679127905 y6989586621679127906) ((~>) x6989586621679127905 z6989586621679127907)) where Source #
ApSym0KindInference :: forall a6989586621679127912 arg. SameKind (Apply ApSym0 arg) (ApSym1 arg) => ApSym0 a6989586621679127912 |
Instances
SuppressUnusedWarnings (ApSym0 :: TyFun (x6989586621679127905 ~> (y6989586621679127906 ~> z6989586621679127907)) ((x6989586621679127905 ~> y6989586621679127906) ~> (x6989586621679127905 ~> z6989586621679127907)) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
SingI (ApSym0 :: TyFun (x ~> (y ~> z)) ((x ~> y) ~> (x ~> z)) -> Type) Source # | |
Defined in Control.Static.Common | |
type Apply (ApSym0 :: TyFun (x6989586621679127905 ~> (y6989586621679127906 ~> z6989586621679127907)) ((x6989586621679127905 ~> y6989586621679127906) ~> (x6989586621679127905 ~> z6989586621679127907)) -> Type) (a6989586621679127912 :: x6989586621679127905 ~> (y6989586621679127906 ~> z6989586621679127907)) Source # | |
Defined in Control.Static.Common type Apply (ApSym0 :: TyFun (x6989586621679127905 ~> (y6989586621679127906 ~> z6989586621679127907)) ((x6989586621679127905 ~> y6989586621679127906) ~> (x6989586621679127905 ~> z6989586621679127907)) -> Type) (a6989586621679127912 :: x6989586621679127905 ~> (y6989586621679127906 ~> z6989586621679127907)) = ApSym1 a6989586621679127912 |
sAp :: forall x y z (t :: (~>) x ((~>) y z)) (t :: (~>) x y) (t :: x). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply ApSym0 t) t) t :: z) Source #
Data type wrapping a constraint, to avoid ImpredicativeTypes GHC error.
Instances
PreClosure (CxtW c (e -> v -> r)) Source # | |
type Cxt (CxtW c (e -> v -> r)) Source # | |
Defined in Control.Static.Closure | |
type Env (CxtW c (e -> v -> r)) Source # | |
Defined in Control.Static.Closure | |
type Part (CxtW c (e -> v -> r)) Source # | |
Defined in Control.Static.Closure |
type family ConstrainList (cc :: [Constraint]) :: Constraint where ... Source #
Convert a list of constraints into a single constraint
ConstrainList '[] = () | |
ConstrainList (c ': cc) = (c, ConstrainList cc) |
type family NullC (t :: k) :: Constraint where ... Source #
Null constraint over 1 type param.
NullC t = () |
data NullCSym0 :: forall k6989586621679127944. (~>) k6989586621679127944 Constraint where Source #
NullCSym0KindInference :: forall t6989586621679127945 arg. SameKind (Apply NullCSym0 arg) (NullCSym1 arg) => NullCSym0 t6989586621679127945 |
Instances
SuppressUnusedWarnings (NullCSym0 :: TyFun k6989586621679127944 Constraint -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (NullCSym0 :: TyFun k Constraint -> Type) (t6989586621679127945 :: k) Source # | |
Defined in Control.Static.Common |
type family NullC2 (t :: k) (t' :: k') :: Constraint where ... Source #
Null constraint over 2 type params.
NullC2 t t' = () |
type NullC2Sym2 (t6989586621679128932 :: k6989586621679128930) (t'6989586621679128933 :: k'6989586621679128931) = NullC2 t6989586621679128932 t'6989586621679128933 Source #
data NullC2Sym1 (t6989586621679128932 :: k6989586621679128930) :: forall k'6989586621679128931. (~>) k'6989586621679128931 Constraint where Source #
NullC2Sym1KindInference :: forall t6989586621679128932 t'6989586621679128933 arg. SameKind (Apply (NullC2Sym1 t6989586621679128932) arg) (NullC2Sym2 t6989586621679128932 arg) => NullC2Sym1 t6989586621679128932 t'6989586621679128933 |
Instances
SuppressUnusedWarnings (NullC2Sym1 t6989586621679128932 k'6989586621679128931 :: TyFun k'6989586621679128931 Constraint -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (NullC2Sym1 t6989586621679128932 k' :: TyFun k' Constraint -> Type) (t'6989586621679128933 :: k') Source # | |
Defined in Control.Static.Common type Apply (NullC2Sym1 t6989586621679128932 k' :: TyFun k' Constraint -> Type) (t'6989586621679128933 :: k') = NullC2 t6989586621679128932 t'6989586621679128933 |
data NullC2Sym0 :: forall k'6989586621679128931 k6989586621679128930. (~>) k6989586621679128930 ((~>) k'6989586621679128931 Constraint) where Source #
NullC2Sym0KindInference :: forall t6989586621679128932 arg. SameKind (Apply NullC2Sym0 arg) (NullC2Sym1 arg) => NullC2Sym0 t6989586621679128932 |
Instances
SuppressUnusedWarnings (NullC2Sym0 :: TyFun k6989586621679128930 (k'6989586621679128931 ~> Constraint) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (NullC2Sym0 :: TyFun k6989586621679128930 (k'6989586621679128931 ~> Constraint) -> Type) (t6989586621679128932 :: k6989586621679128930) Source # | |
Defined in Control.Static.Common type Apply (NullC2Sym0 :: TyFun k6989586621679128930 (k'6989586621679128931 ~> Constraint) -> Type) (t6989586621679128932 :: k6989586621679128930) = (NullC2Sym1 t6989586621679128932 k'6989586621679128931 :: TyFun k'6989586621679128931 Constraint -> Type) |
type AndCSym2 (c06989586621679129083 :: Constraint) (c16989586621679129084 :: Constraint) = AndC c06989586621679129083 c16989586621679129084 Source #
data AndCSym1 (c06989586621679129083 :: Constraint) :: (~>) Constraint Constraint where Source #
AndCSym1KindInference :: forall c06989586621679129083 c16989586621679129084 arg. SameKind (Apply (AndCSym1 c06989586621679129083) arg) (AndCSym2 c06989586621679129083 arg) => AndCSym1 c06989586621679129083 c16989586621679129084 |
Instances
SuppressUnusedWarnings (AndCSym1 c06989586621679129083 :: TyFun Constraint Constraint -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (AndCSym1 c06989586621679129083 :: TyFun Constraint Constraint -> Type) (c16989586621679129084 :: Constraint) Source # | |
Defined in Control.Static.Common type Apply (AndCSym1 c06989586621679129083 :: TyFun Constraint Constraint -> Type) (c16989586621679129084 :: Constraint) = AndC c06989586621679129083 c16989586621679129084 |
data AndCSym0 :: (~>) Constraint ((~>) Constraint Constraint) where Source #
AndCSym0KindInference :: forall c06989586621679129083 arg. SameKind (Apply AndCSym0 arg) (AndCSym1 arg) => AndCSym0 c06989586621679129083 |
Instances
SuppressUnusedWarnings AndCSym0 Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply AndCSym0 (c06989586621679129083 :: Constraint) Source # | |
Defined in Control.Static.Common |
type AndC1 c0 c1 = ApSym2 (AndCSym0 .@#@$$$ c0) c1 Source #
Combine two constraint constructors into a single constraint constructor.
This is analogous to the term-level idiom ap ((,) . c0) c1
that combines
two functions c0, c1 into a single one.
type AndC2 c0 c1 = ApSym2 (ApSym0 .@#@$$$ ((.@#@$$) AndCSym0 .@#@$$$ c0)) c1 Source #
Combine two constraint constructors, each taking 2 type params, into a single constraint constructor taking 2 type params.
This is analogous to the term-level idiom ap (ap . ((,) .) . c0) c1
that
combines two functions c0, c1 that each take 2 params, into a single one.
type Class2Sym4 (c06989586621679129378 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) (c16989586621679129379 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) (t6989586621679129380 :: k16989586621679129616) (t'6989586621679129381 :: k16989586621679129614) = Class2 c06989586621679129378 c16989586621679129379 t6989586621679129380 t'6989586621679129381 Source #
data Class2Sym3 (c06989586621679129378 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) (c16989586621679129379 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) (t6989586621679129380 :: k16989586621679129616) :: (~>) k16989586621679129614 Constraint where Source #
Class2Sym3KindInference :: forall c06989586621679129378 c16989586621679129379 t6989586621679129380 t'6989586621679129381 arg. SameKind (Apply (Class2Sym3 c06989586621679129378 c16989586621679129379 t6989586621679129380) arg) (Class2Sym4 c06989586621679129378 c16989586621679129379 t6989586621679129380 arg) => Class2Sym3 c06989586621679129378 c16989586621679129379 t6989586621679129380 t'6989586621679129381 |
Instances
SuppressUnusedWarnings (Class2Sym3 t6989586621679129380 c16989586621679129379 c06989586621679129378 :: TyFun k16989586621679129614 Constraint -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (Class2Sym3 t6989586621679129380 c16989586621679129379 c06989586621679129378 :: TyFun k3 Constraint -> Type) (t'6989586621679129381 :: k3) Source # | |
Defined in Control.Static.Common type Apply (Class2Sym3 t6989586621679129380 c16989586621679129379 c06989586621679129378 :: TyFun k3 Constraint -> Type) (t'6989586621679129381 :: k3) = Class2 t6989586621679129380 c16989586621679129379 c06989586621679129378 t'6989586621679129381 |
data Class2Sym2 (c06989586621679129378 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) (c16989586621679129379 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint) where Source #
Class2Sym2KindInference :: forall c06989586621679129378 c16989586621679129379 t6989586621679129380 arg. SameKind (Apply (Class2Sym2 c06989586621679129378 c16989586621679129379) arg) (Class2Sym3 c06989586621679129378 c16989586621679129379 arg) => Class2Sym2 c06989586621679129378 c16989586621679129379 t6989586621679129380 |
Instances
SuppressUnusedWarnings (Class2Sym2 c16989586621679129379 c06989586621679129378 :: TyFun k16989586621679129616 (k16989586621679129614 ~> Constraint) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (Class2Sym2 c16989586621679129379 c06989586621679129378 :: TyFun k16989586621679129616 (k16989586621679129614 ~> Constraint) -> Type) (t6989586621679129380 :: k16989586621679129616) Source # | |
Defined in Control.Static.Common type Apply (Class2Sym2 c16989586621679129379 c06989586621679129378 :: TyFun k16989586621679129616 (k16989586621679129614 ~> Constraint) -> Type) (t6989586621679129380 :: k16989586621679129616) = Class2Sym3 c16989586621679129379 c06989586621679129378 t6989586621679129380 |
data Class2Sym1 (c06989586621679129378 :: (~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) :: (~>) ((~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) ((~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) where Source #
Class2Sym1KindInference :: forall c06989586621679129378 c16989586621679129379 arg. SameKind (Apply (Class2Sym1 c06989586621679129378) arg) (Class2Sym2 c06989586621679129378 arg) => Class2Sym1 c06989586621679129378 c16989586621679129379 |
Instances
SuppressUnusedWarnings (Class2Sym1 c06989586621679129378 :: TyFun (k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) (k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (Class2Sym1 c06989586621679129378 :: TyFun (k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) (k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) -> Type) (c16989586621679129379 :: k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) Source # | |
Defined in Control.Static.Common type Apply (Class2Sym1 c06989586621679129378 :: TyFun (k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) (k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) -> Type) (c16989586621679129379 :: k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) = Class2Sym2 c06989586621679129378 c16989586621679129379 |
data Class2Sym0 :: forall k16989586621679129614 k16989586621679129616. (~>) ((~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) ((~>) ((~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint)) ((~>) k16989586621679129616 ((~>) k16989586621679129614 Constraint))) where Source #
Class2Sym0KindInference :: forall c06989586621679129378 arg. SameKind (Apply Class2Sym0 arg) (Class2Sym1 arg) => Class2Sym0 c06989586621679129378 |
Instances
SuppressUnusedWarnings (Class2Sym0 :: TyFun (k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) ((k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) ~> (k16989586621679129616 ~> (k16989586621679129614 ~> Constraint))) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
type Apply (Class2Sym0 :: TyFun (k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) ((k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) ~> (k16989586621679129616 ~> (k16989586621679129614 ~> Constraint))) -> Type) (c06989586621679129378 :: k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) Source # | |
Defined in Control.Static.Common type Apply (Class2Sym0 :: TyFun (k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) ((k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) ~> (k16989586621679129616 ~> (k16989586621679129614 ~> Constraint))) -> Type) (c06989586621679129378 :: k16989586621679129616 ~> (k16989586621679129614 ~> Constraint)) = Class2Sym1 c06989586621679129378 |
type family LookupKV_If (a :: k) (a :: k) (a :: [k]) (a :: v) (a :: [v]) (a :: Bool) :: Maybe (k, v) where ... Source #
LookupKV_If k k' _ v' _ True = Apply JustSym0 (Apply (Apply Tuple2Sym0 k') v') | |
LookupKV_If k _ kk _ vv False = Apply (Apply (Apply LookupKVSym0 k) kk) vv |
data LookupKVSym0 :: forall k6989586621679130586 v6989586621679130587. (~>) k6989586621679130586 ((~>) [k6989586621679130586] ((~>) [v6989586621679130587] (Maybe (k6989586621679130586, v6989586621679130587)))) where Source #
LookupKVSym0KindInference :: forall a6989586621679135078 arg. SameKind (Apply LookupKVSym0 arg) (LookupKVSym1 arg) => LookupKVSym0 a6989586621679135078 |
Instances
SuppressUnusedWarnings (LookupKVSym0 :: TyFun k6989586621679130586 ([k6989586621679130586] ~> ([v6989586621679130587] ~> Maybe (k6989586621679130586, v6989586621679130587))) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
SEq k => SingI (LookupKVSym0 :: TyFun k ([k] ~> ([v] ~> Maybe (k, v))) -> Type) Source # | |
Defined in Control.Static.Common sing :: Sing LookupKVSym0 # | |
type Apply (LookupKVSym0 :: TyFun k6989586621679130586 ([k6989586621679130586] ~> ([v6989586621679130587] ~> Maybe (k6989586621679130586, v6989586621679130587))) -> Type) (a6989586621679135078 :: k6989586621679130586) Source # | |
Defined in Control.Static.Common type Apply (LookupKVSym0 :: TyFun k6989586621679130586 ([k6989586621679130586] ~> ([v6989586621679130587] ~> Maybe (k6989586621679130586, v6989586621679130587))) -> Type) (a6989586621679135078 :: k6989586621679130586) = (LookupKVSym1 a6989586621679135078 v6989586621679130587 :: TyFun [k6989586621679130586] ([v6989586621679130587] ~> Maybe (k6989586621679130586, v6989586621679130587)) -> Type) |
data LookupKVSym1 (a6989586621679135078 :: k6989586621679130586) :: forall v6989586621679130587. (~>) [k6989586621679130586] ((~>) [v6989586621679130587] (Maybe (k6989586621679130586, v6989586621679130587))) where Source #
LookupKVSym1KindInference :: forall a6989586621679135078 a6989586621679135079 arg. SameKind (Apply (LookupKVSym1 a6989586621679135078) arg) (LookupKVSym2 a6989586621679135078 arg) => LookupKVSym1 a6989586621679135078 a6989586621679135079 |
Instances
SuppressUnusedWarnings (LookupKVSym1 a6989586621679135078 v6989586621679130587 :: TyFun [k6989586621679130586] ([v6989586621679130587] ~> Maybe (k6989586621679130586, v6989586621679130587)) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
(SEq k, SingI d) => SingI (LookupKVSym1 d v :: TyFun [k] ([v] ~> Maybe (k, v)) -> Type) Source # | |
Defined in Control.Static.Common sing :: Sing (LookupKVSym1 d v) # | |
type Apply (LookupKVSym1 a6989586621679135078 v6989586621679130587 :: TyFun [k6989586621679130586] ([v6989586621679130587] ~> Maybe (k6989586621679130586, v6989586621679130587)) -> Type) (a6989586621679135079 :: [k6989586621679130586]) Source # | |
Defined in Control.Static.Common type Apply (LookupKVSym1 a6989586621679135078 v6989586621679130587 :: TyFun [k6989586621679130586] ([v6989586621679130587] ~> Maybe (k6989586621679130586, v6989586621679130587)) -> Type) (a6989586621679135079 :: [k6989586621679130586]) = (LookupKVSym2 a6989586621679135078 a6989586621679135079 v6989586621679130587 :: TyFun [v6989586621679130587] (Maybe (k6989586621679130586, v6989586621679130587)) -> Type) |
data LookupKVSym2 (a6989586621679135078 :: k6989586621679130586) (a6989586621679135079 :: [k6989586621679130586]) :: forall v6989586621679130587. (~>) [v6989586621679130587] (Maybe (k6989586621679130586, v6989586621679130587)) where Source #
LookupKVSym2KindInference :: forall a6989586621679135078 a6989586621679135079 a6989586621679135080 arg. SameKind (Apply (LookupKVSym2 a6989586621679135078 a6989586621679135079) arg) (LookupKVSym3 a6989586621679135078 a6989586621679135079 arg) => LookupKVSym2 a6989586621679135078 a6989586621679135079 a6989586621679135080 |
Instances
SuppressUnusedWarnings (LookupKVSym2 a6989586621679135079 a6989586621679135078 v6989586621679130587 :: TyFun [v6989586621679130587] (Maybe (k6989586621679130586, v6989586621679130587)) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
(SEq k, SingI d1, SingI d2) => SingI (LookupKVSym2 d1 d2 v :: TyFun [v] (Maybe (k, v)) -> Type) Source # | |
Defined in Control.Static.Common sing :: Sing (LookupKVSym2 d1 d2 v) # | |
type Apply (LookupKVSym2 a6989586621679135079 a6989586621679135078 v :: TyFun [v] (Maybe (k, v)) -> Type) (a6989586621679135080 :: [v]) Source # | |
Defined in Control.Static.Common |
type LookupKVSym3 (a6989586621679135078 :: k6989586621679130586) (a6989586621679135079 :: [k6989586621679130586]) (a6989586621679135080 :: [v6989586621679130587]) = LookupKV a6989586621679135078 a6989586621679135079 a6989586621679135080 Source #
data LookupKV_IfSym0 :: forall k6989586621679130584 v6989586621679130585. (~>) k6989586621679130584 ((~>) k6989586621679130584 ((~>) [k6989586621679130584] ((~>) v6989586621679130585 ((~>) [v6989586621679130585] ((~>) Bool (Maybe (k6989586621679130584, v6989586621679130585))))))) where Source #
LookupKV_IfSym0KindInference :: forall a6989586621679135090 arg. SameKind (Apply LookupKV_IfSym0 arg) (LookupKV_IfSym1 arg) => LookupKV_IfSym0 a6989586621679135090 |
Instances
SuppressUnusedWarnings (LookupKV_IfSym0 :: TyFun k6989586621679130584 (k6989586621679130584 ~> ([k6989586621679130584] ~> (v6989586621679130585 ~> ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585)))))) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
SEq k => SingI (LookupKV_IfSym0 :: TyFun k (k ~> ([k] ~> (v ~> ([v] ~> (Bool ~> Maybe (k, v)))))) -> Type) Source # | |
Defined in Control.Static.Common sing :: Sing LookupKV_IfSym0 # | |
type Apply (LookupKV_IfSym0 :: TyFun k6989586621679130584 (k6989586621679130584 ~> ([k6989586621679130584] ~> (v6989586621679130585 ~> ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585)))))) -> Type) (a6989586621679135090 :: k6989586621679130584) Source # | |
Defined in Control.Static.Common type Apply (LookupKV_IfSym0 :: TyFun k6989586621679130584 (k6989586621679130584 ~> ([k6989586621679130584] ~> (v6989586621679130585 ~> ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585)))))) -> Type) (a6989586621679135090 :: k6989586621679130584) = (LookupKV_IfSym1 a6989586621679135090 v6989586621679130585 :: TyFun k6989586621679130584 ([k6989586621679130584] ~> (v6989586621679130585 ~> ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585))))) -> Type) |
data LookupKV_IfSym1 (a6989586621679135090 :: k6989586621679130584) :: forall v6989586621679130585. (~>) k6989586621679130584 ((~>) [k6989586621679130584] ((~>) v6989586621679130585 ((~>) [v6989586621679130585] ((~>) Bool (Maybe (k6989586621679130584, v6989586621679130585)))))) where Source #
LookupKV_IfSym1KindInference :: forall a6989586621679135090 a6989586621679135091 arg. SameKind (Apply (LookupKV_IfSym1 a6989586621679135090) arg) (LookupKV_IfSym2 a6989586621679135090 arg) => LookupKV_IfSym1 a6989586621679135090 a6989586621679135091 |
Instances
SuppressUnusedWarnings (LookupKV_IfSym1 a6989586621679135090 v6989586621679130585 :: TyFun k6989586621679130584 ([k6989586621679130584] ~> (v6989586621679130585 ~> ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585))))) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
(SEq k, SingI d) => SingI (LookupKV_IfSym1 d v :: TyFun k ([k] ~> (v ~> ([v] ~> (Bool ~> Maybe (k, v))))) -> Type) Source # | |
Defined in Control.Static.Common sing :: Sing (LookupKV_IfSym1 d v) # | |
type Apply (LookupKV_IfSym1 a6989586621679135090 v6989586621679130585 :: TyFun k6989586621679130584 ([k6989586621679130584] ~> (v6989586621679130585 ~> ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585))))) -> Type) (a6989586621679135091 :: k6989586621679130584) Source # | |
Defined in Control.Static.Common type Apply (LookupKV_IfSym1 a6989586621679135090 v6989586621679130585 :: TyFun k6989586621679130584 ([k6989586621679130584] ~> (v6989586621679130585 ~> ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585))))) -> Type) (a6989586621679135091 :: k6989586621679130584) = (LookupKV_IfSym2 a6989586621679135090 a6989586621679135091 v6989586621679130585 :: TyFun [k6989586621679130584] (v6989586621679130585 ~> ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585)))) -> Type) |
data LookupKV_IfSym2 (a6989586621679135090 :: k6989586621679130584) (a6989586621679135091 :: k6989586621679130584) :: forall v6989586621679130585. (~>) [k6989586621679130584] ((~>) v6989586621679130585 ((~>) [v6989586621679130585] ((~>) Bool (Maybe (k6989586621679130584, v6989586621679130585))))) where Source #
LookupKV_IfSym2KindInference :: forall a6989586621679135090 a6989586621679135091 a6989586621679135092 arg. SameKind (Apply (LookupKV_IfSym2 a6989586621679135090 a6989586621679135091) arg) (LookupKV_IfSym3 a6989586621679135090 a6989586621679135091 arg) => LookupKV_IfSym2 a6989586621679135090 a6989586621679135091 a6989586621679135092 |
Instances
SuppressUnusedWarnings (LookupKV_IfSym2 a6989586621679135091 a6989586621679135090 v6989586621679130585 :: TyFun [k6989586621679130584] (v6989586621679130585 ~> ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585)))) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
(SEq k, SingI d1, SingI d2) => SingI (LookupKV_IfSym2 d1 d2 v :: TyFun [k] (v ~> ([v] ~> (Bool ~> Maybe (k, v)))) -> Type) Source # | |
Defined in Control.Static.Common sing :: Sing (LookupKV_IfSym2 d1 d2 v) # | |
type Apply (LookupKV_IfSym2 a6989586621679135091 a6989586621679135090 v6989586621679130585 :: TyFun [k6989586621679130584] (v6989586621679130585 ~> ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585)))) -> Type) (a6989586621679135092 :: [k6989586621679130584]) Source # | |
Defined in Control.Static.Common type Apply (LookupKV_IfSym2 a6989586621679135091 a6989586621679135090 v6989586621679130585 :: TyFun [k6989586621679130584] (v6989586621679130585 ~> ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585)))) -> Type) (a6989586621679135092 :: [k6989586621679130584]) = (LookupKV_IfSym3 a6989586621679135091 a6989586621679135090 a6989586621679135092 v6989586621679130585 :: TyFun v6989586621679130585 ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585))) -> Type) |
data LookupKV_IfSym3 (a6989586621679135090 :: k6989586621679130584) (a6989586621679135091 :: k6989586621679130584) (a6989586621679135092 :: [k6989586621679130584]) :: forall v6989586621679130585. (~>) v6989586621679130585 ((~>) [v6989586621679130585] ((~>) Bool (Maybe (k6989586621679130584, v6989586621679130585)))) where Source #
LookupKV_IfSym3KindInference :: forall a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 arg. SameKind (Apply (LookupKV_IfSym3 a6989586621679135090 a6989586621679135091 a6989586621679135092) arg) (LookupKV_IfSym4 a6989586621679135090 a6989586621679135091 a6989586621679135092 arg) => LookupKV_IfSym3 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 |
Instances
SuppressUnusedWarnings (LookupKV_IfSym3 a6989586621679135092 a6989586621679135091 a6989586621679135090 v6989586621679130585 :: TyFun v6989586621679130585 ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585))) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
(SEq k, SingI d1, SingI d2, SingI d3) => SingI (LookupKV_IfSym3 d1 d2 d3 v :: TyFun v ([v] ~> (Bool ~> Maybe (k, v))) -> Type) Source # | |
Defined in Control.Static.Common sing :: Sing (LookupKV_IfSym3 d1 d2 d3 v) # | |
type Apply (LookupKV_IfSym3 a6989586621679135092 a6989586621679135091 a6989586621679135090 v6989586621679130585 :: TyFun v6989586621679130585 ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585))) -> Type) (a6989586621679135093 :: v6989586621679130585) Source # | |
Defined in Control.Static.Common type Apply (LookupKV_IfSym3 a6989586621679135092 a6989586621679135091 a6989586621679135090 v6989586621679130585 :: TyFun v6989586621679130585 ([v6989586621679130585] ~> (Bool ~> Maybe (k6989586621679130584, v6989586621679130585))) -> Type) (a6989586621679135093 :: v6989586621679130585) = LookupKV_IfSym4 a6989586621679135092 a6989586621679135091 a6989586621679135090 a6989586621679135093 |
data LookupKV_IfSym4 (a6989586621679135090 :: k6989586621679130584) (a6989586621679135091 :: k6989586621679130584) (a6989586621679135092 :: [k6989586621679130584]) (a6989586621679135093 :: v6989586621679130585) :: (~>) [v6989586621679130585] ((~>) Bool (Maybe (k6989586621679130584, v6989586621679130585))) where Source #
LookupKV_IfSym4KindInference :: forall a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094 arg. SameKind (Apply (LookupKV_IfSym4 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093) arg) (LookupKV_IfSym5 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 arg) => LookupKV_IfSym4 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094 |
Instances
SuppressUnusedWarnings (LookupKV_IfSym4 a6989586621679135093 a6989586621679135092 a6989586621679135091 a6989586621679135090 :: TyFun [v6989586621679130585] (Bool ~> Maybe (k6989586621679130584, v6989586621679130585)) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
(SEq k, SingI d1, SingI d2, SingI d3, SingI d4) => SingI (LookupKV_IfSym4 d1 d2 d3 d4 :: TyFun [v] (Bool ~> Maybe (k, v)) -> Type) Source # | |
Defined in Control.Static.Common sing :: Sing (LookupKV_IfSym4 d1 d2 d3 d4) # | |
type Apply (LookupKV_IfSym4 a6989586621679135093 a6989586621679135092 a6989586621679135091 a6989586621679135090 :: TyFun [v6989586621679130585] (Bool ~> Maybe (k6989586621679130584, v6989586621679130585)) -> Type) (a6989586621679135094 :: [v6989586621679130585]) Source # | |
Defined in Control.Static.Common type Apply (LookupKV_IfSym4 a6989586621679135093 a6989586621679135092 a6989586621679135091 a6989586621679135090 :: TyFun [v6989586621679130585] (Bool ~> Maybe (k6989586621679130584, v6989586621679130585)) -> Type) (a6989586621679135094 :: [v6989586621679130585]) = LookupKV_IfSym5 a6989586621679135093 a6989586621679135092 a6989586621679135091 a6989586621679135090 a6989586621679135094 |
data LookupKV_IfSym5 (a6989586621679135090 :: k6989586621679130584) (a6989586621679135091 :: k6989586621679130584) (a6989586621679135092 :: [k6989586621679130584]) (a6989586621679135093 :: v6989586621679130585) (a6989586621679135094 :: [v6989586621679130585]) :: (~>) Bool (Maybe (k6989586621679130584, v6989586621679130585)) where Source #
LookupKV_IfSym5KindInference :: forall a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094 a6989586621679135095 arg. SameKind (Apply (LookupKV_IfSym5 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094) arg) (LookupKV_IfSym6 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094 arg) => LookupKV_IfSym5 a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094 a6989586621679135095 |
Instances
SuppressUnusedWarnings (LookupKV_IfSym5 a6989586621679135094 a6989586621679135093 a6989586621679135092 a6989586621679135091 a6989586621679135090 :: TyFun Bool (Maybe (k6989586621679130584, v6989586621679130585)) -> Type) Source # | |
Defined in Control.Static.Common suppressUnusedWarnings :: () # | |
(SEq k, SingI d1, SingI d2, SingI d3, SingI d4, SingI d5) => SingI (LookupKV_IfSym5 d1 d2 d3 d4 d5 :: TyFun Bool (Maybe (k, v)) -> Type) Source # | |
Defined in Control.Static.Common sing :: Sing (LookupKV_IfSym5 d1 d2 d3 d4 d5) # | |
type Apply (LookupKV_IfSym5 a6989586621679135094 a6989586621679135093 a6989586621679135092 a6989586621679135091 a6989586621679135090 :: TyFun Bool (Maybe (k, v)) -> Type) (a6989586621679135095 :: Bool) Source # | |
Defined in Control.Static.Common type Apply (LookupKV_IfSym5 a6989586621679135094 a6989586621679135093 a6989586621679135092 a6989586621679135091 a6989586621679135090 :: TyFun Bool (Maybe (k, v)) -> Type) (a6989586621679135095 :: Bool) = LookupKV_If a6989586621679135094 a6989586621679135093 a6989586621679135092 a6989586621679135091 a6989586621679135090 a6989586621679135095 |
type LookupKV_IfSym6 (a6989586621679135090 :: k6989586621679130584) (a6989586621679135091 :: k6989586621679130584) (a6989586621679135092 :: [k6989586621679130584]) (a6989586621679135093 :: v6989586621679130585) (a6989586621679135094 :: [v6989586621679130585]) (a6989586621679135095 :: Bool) = LookupKV_If a6989586621679135090 a6989586621679135091 a6989586621679135092 a6989586621679135093 a6989586621679135094 a6989586621679135095 Source #
sLookupKV_If :: forall k v (t :: k) (t :: k) (t :: [k]) (t :: v) (t :: [v]) (t :: Bool). SEq k => Sing t -> Sing t -> Sing t -> Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply (Apply (Apply (Apply LookupKV_IfSym0 t) t) t) t) t) t :: Maybe (k, v)) Source #
sLookupKV :: forall k v (t :: k) (t :: [k]) (t :: [v]). SEq k => Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply LookupKVSym0 t) t) t :: Maybe (k, v)) Source #
class Fmap (FmapSym1 f) (LookupKV k kk vv) ~ LookupKV k kk (Fmap f vv) => ProofLookupKV f k (kk :: [kt]) vv Source #
Instances
ProofLookupKV (f :: a ~> v) (k :: kt) ([] :: [kt]) ([] :: [a]) Source # | |
Defined in Control.Static.Common | |
ProofLookupKV_If f k k' kk v' vv (k == k') => ProofLookupKV (f :: a ~> v) (k :: kt) (k' ': kk :: [kt]) (v' ': vv :: [a]) Source # | |
Defined in Control.Static.Common |
class Fmap (FmapSym1 f) (LookupKV_If k k' kk v' vv eq) ~ LookupKV_If k k' kk (f @@ v') (Fmap f vv) eq => ProofLookupKV_If f (k :: kt) k' kk v' vv eq Source #
Instances
ProofLookupKV f k kk vv => ProofLookupKV_If (f :: a ~> b) (k :: kt) (k' :: kt) (kk :: [kt]) (v' :: a) (vv :: [a]) False Source # | |
Defined in Control.Static.Common | |
ProofLookupKV_If (f :: a ~> b) (k :: kt) (k' :: kt) (kk :: [kt]) (v' :: a) (vv :: [a]) True Source # | |
Defined in Control.Static.Common |
data TCTab (c :: kt ~> (Type ~> Constraint)) (kk :: [kt]) (vv :: [Type]) :: Type where Source #
Heterogeneous constrained table.
type TCTab' c = TCTab (ConstSym1 (TyCon1 c)) Source #
A TCTab
with a constraint that applies only to the value, not the key.
type TTab = TCTab NullC2Sym0 Source #
Heterogeneous unconstrained table.
To add or remove constraints, see strengthenTC0
, strengthenTC
and
weakenTC
.
lookupTC :: forall kt c f (k :: kt) (kk :: [kt]) vv. SEq kt => Sing k -> TCTab c kk vv -> (TCMaybe c (LookupKV k kk vv), Dict (ProofLookupKV f k kk vv)) Source #
Lookup an element in the table, and generate some proofs about the result that can be used by the caller.
lookupTC2 :: forall kt c0 c1 f (k :: kt) (kk :: [kt]) vv. SEq kt => Sing k -> TCTab c0 kk vv -> TCTab c1 kk (Fmap f vv) -> (TCMaybe c0 (LookupKV k kk vv), TCMaybe c1 (Fmap (FmapSym1 f) (LookupKV k kk vv))) Source #
Lookup two elements in two related tables.
The types of the outputs are provably related.
zipWithTC :: forall kt c0 c1 cr f1 r (kk :: [kt]) vv. TCTab c0 kk vv -> TCTab c1 kk (Fmap f1 vv) -> (forall k0 k1 v. (c0 @@ k0) @@ v => (c1 @@ k1) @@ (f1 @@ v) => Sing k0 -> v -> Sing k1 -> (f1 @@ v) -> (r @@ v, Dict ((cr @@ k0) @@ (r @@ v)))) -> TCTab cr kk (Fmap r vv) Source #
Zip two related tables, giving a third table related to both.
The types of the outputs are provably related.
zipWith3TC :: forall kt c0 c1 c2 cr f1 f2 r (kk :: [kt]) vv. TCTab c0 kk vv -> TCTab c1 kk (Fmap f1 vv) -> TCTab c2 kk (Fmap f2 vv) -> (forall k0 k1 k2 v. (c0 @@ k0) @@ v => (c1 @@ k1) @@ (f1 @@ v) => (c2 @@ k2) @@ (f2 @@ v) => Sing k0 -> v -> Sing k1 -> (f1 @@ v) -> Sing k2 -> (f2 @@ v) -> (r @@ v, Dict ((cr @@ k0) @@ (r @@ v)))) -> TCTab cr kk (Fmap r vv) Source #
Zip three related tables, giving a fourth table related to both.
The types of the outputs are provably related.
withTCDict :: forall kt c0 c (kk :: [kt]) vv r. TCTab c0 kk vv -> TTab kk (Fmap (DictOf c) vv) -> (ConstrainList (Fmap c vv) => r) -> r Source #
toTCDict :: forall kt c0 c (kk :: [kt]) vv. ConstrainList (Fmap c vv) => TCTab c0 kk vv -> TTab kk (Fmap (DictOf c) vv) Source #
weakenTC :: forall kt c0 c1 (kk :: [kt]) vv. ConstrainList (ZipWith (Class2Sym2 c1 c0) kk vv) => TCTab c0 kk vv -> TCTab c1 kk vv Source #
Weaken the constraint on a TCTab
.
strengthenTC :: forall kt c0 c1 (kk :: [kt]) vv. ConstrainList (ZipWith c1 kk vv) => TCTab c0 kk vv -> TCTab (AndC2 c0 c1) kk vv Source #
Strengthen the constraint on a TCTab
.
strengthenTC0 :: forall kt c1 (kk :: [kt]) vv. ConstrainList (ZipWith c1 kk vv) => TTab kk vv -> TCTab c1 kk vv Source #
Strengthen the constraint on a TTab
.