Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
demoteSUnit :: SUnit unit -> () Source #
demoteSTuple2 :: forall da db sa sb ab. (forall a. sa a -> da) -> (forall b. sb b -> db) -> STuple2 sa sb ab -> (da, db) Source #
class SingTuple2 (cl :: lk -> Constraint) (cr :: rk -> Constraint) (sl :: lk -> Type) (sr :: rk -> Type) (lr :: (lk, rk)) where Source #
singTuple2' :: (forall l. cl l => sl l) -> (forall r. cr r => sr r) -> STuple2 sl sr lr Source #
Instances
(cl l, cr r) => SingTuple2 (cl :: k1 -> Constraint) (cr :: k2 -> Constraint) (sl :: k1 -> Type) (sr :: k2 -> Type) ('(l, r) :: (k1, k2)) Source # | |
Defined in Singleraeh.Tuple singTuple2' :: (forall (l0 :: lk). cl l0 => sl l0) -> (forall (r0 :: rk). cr r0 => sr r0) -> STuple2 sl sr '(l, r) Source # |
singTuple2 :: forall cl cr sl sr lr. SingTuple2 cl cr sl sr lr => (forall l. cl l => sl l) -> (forall r. cr r => sr r) -> STuple2 sl sr lr Source #
demoteSTuple3 :: forall da db dc sa sb sc abc. (forall a. sa a -> da) -> (forall b. sb b -> db) -> (forall c. sc c -> dc) -> STuple3 sa sb sc abc -> (da, db, dc) Source #
class SingTuple3 (ca :: ak -> Constraint) (cb :: bk -> Constraint) (cc :: ck -> Constraint) (sa :: ak -> Type) (sb :: bk -> Type) (sc :: ck -> Type) (abc :: (ak, bk, ck)) where Source #
singTuple3' :: (forall a. ca a => sa a) -> (forall b. cb b => sb b) -> (forall c. cc c => sc c) -> STuple3 sa sb sc abc Source #
Instances
(ca a, cb b, cc c) => SingTuple3 (ca :: k1 -> Constraint) (cb :: k2 -> Constraint) (cc :: k3 -> Constraint) (sa :: k1 -> Type) (sb :: k2 -> Type) (sc :: k3 -> Type) ('(a, b, c) :: (k1, k2, k3)) Source # | |
Defined in Singleraeh.Tuple singTuple3' :: (forall (a0 :: ak). ca a0 => sa a0) -> (forall (b0 :: bk). cb b0 => sb b0) -> (forall (c0 :: ck). cc c0 => sc c0) -> STuple3 sa sb sc '(a, b, c) Source # |
singTuple3 :: forall ca cb cc sa sb sc abc. SingTuple3 ca cb cc sa sb sc abc => (forall a. ca a => sa a) -> (forall b. cb b => sb b) -> (forall c. cc c => sc c) -> STuple3 sa sb sc abc Source #