Copyright | (C) 2014 Jan Stolarek Richard Eisenberg |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Jan Stolarek (jan.stolarek@p.lodz.pl) |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
- class PBounded (a :: Type) where
- class SBounded a where
- class PEnum (a :: Type) where
- type Succ (arg :: a) :: a
- type Pred (arg :: a) :: a
- type ToEnum (arg :: Nat) :: a
- type FromEnum (arg :: a) :: Nat
- type EnumFromTo (arg :: a) (arg :: a) :: [a]
- type EnumFromThenTo (arg :: a) (arg :: a) (arg :: a) :: [a]
- class SEnum a where
- type MinBoundSym0 = MinBound
- type MaxBoundSym0 = MaxBound
- data SuccSym0 (l :: TyFun a6989586621679809090 a6989586621679809090)
- type SuccSym1 (t :: a6989586621679809090) = Succ t
- data PredSym0 (l :: TyFun a6989586621679809090 a6989586621679809090)
- type PredSym1 (t :: a6989586621679809090) = Pred t
- data ToEnumSym0 (l :: TyFun Nat a6989586621679809090)
- type ToEnumSym1 (t :: Nat) = ToEnum t
- data FromEnumSym0 (l :: TyFun a6989586621679809090 Nat)
- type FromEnumSym1 (t :: a6989586621679809090) = FromEnum t
- data EnumFromToSym0 (l :: TyFun a6989586621679809090 (TyFun a6989586621679809090 [a6989586621679809090] -> Type))
- data EnumFromToSym1 (l :: a6989586621679809090) (l :: TyFun a6989586621679809090 [a6989586621679809090])
- type EnumFromToSym2 (t :: a6989586621679809090) (t :: a6989586621679809090) = EnumFromTo t t
- data EnumFromThenToSym0 (l :: TyFun a6989586621679809090 (TyFun a6989586621679809090 (TyFun a6989586621679809090 [a6989586621679809090] -> Type) -> Type))
- data EnumFromThenToSym1 (l :: a6989586621679809090) (l :: TyFun a6989586621679809090 (TyFun a6989586621679809090 [a6989586621679809090] -> Type))
- data EnumFromThenToSym2 (l :: a6989586621679809090) (l :: a6989586621679809090) (l :: TyFun a6989586621679809090 [a6989586621679809090])
- type EnumFromThenToSym3 (t :: a6989586621679809090) (t :: a6989586621679809090) (t :: a6989586621679809090) = EnumFromThenTo t t t
Documentation
class SBounded a where Source #
sMinBound :: Sing (MinBoundSym0 :: a) Source #
sMaxBound :: Sing (MaxBoundSym0 :: a) Source #
SBounded Bool Source # | |
SBounded Ordering Source # | |
SBounded () Source # | |
(SBounded a, SBounded b) => SBounded (a, b) Source # | |
(SBounded a, SBounded b, SBounded c) => SBounded (a, b, c) Source # | |
(SBounded a, SBounded b, SBounded c, SBounded d) => SBounded (a, b, c, d) Source # | |
(SBounded a, SBounded b, SBounded c, SBounded d, SBounded e) => SBounded (a, b, c, d, e) Source # | |
(SBounded a, SBounded b, SBounded c, SBounded d, SBounded e, SBounded f) => SBounded (a, b, c, d, e, f) Source # | |
(SBounded a, SBounded b, SBounded c, SBounded d, SBounded e, SBounded f, SBounded g) => SBounded (a, b, c, d, e, f, g) Source # | |
sSucc :: forall (t :: a). Sing t -> Sing (Apply SuccSym0 t :: a) Source #
sPred :: forall (t :: a). Sing t -> Sing (Apply PredSym0 t :: a) Source #
sToEnum :: forall (t :: Nat). Sing t -> Sing (Apply ToEnumSym0 t :: a) Source #
sFromEnum :: forall (t :: a). Sing t -> Sing (Apply FromEnumSym0 t :: Nat) Source #
sEnumFromTo :: forall (t :: a) (t :: a). Sing t -> Sing t -> Sing (Apply (Apply EnumFromToSym0 t) t :: [a]) Source #
sEnumFromThenTo :: forall (t :: a) (t :: a) (t :: a). Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply EnumFromThenToSym0 t) t) t :: [a]) Source #
sSucc :: forall (t :: a). ((Apply SuccSym0 t :: a) ~ Apply Succ_6989586621679809681Sym0 t) => Sing t -> Sing (Apply SuccSym0 t :: a) Source #
sPred :: forall (t :: a). ((Apply PredSym0 t :: a) ~ Apply Pred_6989586621679809694Sym0 t) => Sing t -> Sing (Apply PredSym0 t :: a) Source #
sEnumFromTo :: forall (t :: a) (t :: a). ((Apply (Apply EnumFromToSym0 t) t :: [a]) ~ Apply (Apply EnumFromTo_6989586621679809712Sym0 t) t) => Sing t -> Sing t -> Sing (Apply (Apply EnumFromToSym0 t) t :: [a]) Source #
sEnumFromThenTo :: forall (t :: a) (t :: a) (t :: a). ((Apply (Apply (Apply EnumFromThenToSym0 t) t) t :: [a]) ~ Apply (Apply (Apply EnumFromThenTo_6989586621679809742Sym0 t) t) t) => Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply EnumFromThenToSym0 t) t) t :: [a]) Source #
Defunctionalization symbols
type MinBoundSym0 = MinBound Source #
type MaxBoundSym0 = MaxBound Source #
data ToEnumSym0 (l :: TyFun Nat a6989586621679809090) Source #
SuppressUnusedWarnings (TyFun Nat a6989586621679809090 -> *) (ToEnumSym0 a6989586621679809090) Source # | |
type Apply Nat k2 (ToEnumSym0 k2) l Source # | |
type ToEnumSym1 (t :: Nat) = ToEnum t Source #
data FromEnumSym0 (l :: TyFun a6989586621679809090 Nat) Source #
SuppressUnusedWarnings (TyFun a6989586621679809090 Nat -> *) (FromEnumSym0 a6989586621679809090) Source # | |
type Apply a Nat (FromEnumSym0 a) l Source # | |
type FromEnumSym1 (t :: a6989586621679809090) = FromEnum t Source #
data EnumFromToSym0 (l :: TyFun a6989586621679809090 (TyFun a6989586621679809090 [a6989586621679809090] -> Type)) Source #
SuppressUnusedWarnings (TyFun a6989586621679809090 (TyFun a6989586621679809090 [a6989586621679809090] -> Type) -> *) (EnumFromToSym0 a6989586621679809090) Source # | |
type Apply a6989586621679809090 (TyFun a6989586621679809090 [a6989586621679809090] -> Type) (EnumFromToSym0 a6989586621679809090) l Source # | |
data EnumFromToSym1 (l :: a6989586621679809090) (l :: TyFun a6989586621679809090 [a6989586621679809090]) Source #
SuppressUnusedWarnings (a6989586621679809090 -> TyFun a6989586621679809090 [a6989586621679809090] -> *) (EnumFromToSym1 a6989586621679809090) Source # | |
type Apply a [a] (EnumFromToSym1 a l1) l2 Source # | |
type EnumFromToSym2 (t :: a6989586621679809090) (t :: a6989586621679809090) = EnumFromTo t t Source #
data EnumFromThenToSym0 (l :: TyFun a6989586621679809090 (TyFun a6989586621679809090 (TyFun a6989586621679809090 [a6989586621679809090] -> Type) -> Type)) Source #
SuppressUnusedWarnings (TyFun a6989586621679809090 (TyFun a6989586621679809090 (TyFun a6989586621679809090 [a6989586621679809090] -> Type) -> Type) -> *) (EnumFromThenToSym0 a6989586621679809090) Source # | |
type Apply a6989586621679809090 (TyFun a6989586621679809090 (TyFun a6989586621679809090 [a6989586621679809090] -> Type) -> Type) (EnumFromThenToSym0 a6989586621679809090) l Source # | |
data EnumFromThenToSym1 (l :: a6989586621679809090) (l :: TyFun a6989586621679809090 (TyFun a6989586621679809090 [a6989586621679809090] -> Type)) Source #
SuppressUnusedWarnings (a6989586621679809090 -> TyFun a6989586621679809090 (TyFun a6989586621679809090 [a6989586621679809090] -> Type) -> *) (EnumFromThenToSym1 a6989586621679809090) Source # | |
type Apply a6989586621679809090 (TyFun a6989586621679809090 [a6989586621679809090] -> Type) (EnumFromThenToSym1 a6989586621679809090 l1) l2 Source # | |
data EnumFromThenToSym2 (l :: a6989586621679809090) (l :: a6989586621679809090) (l :: TyFun a6989586621679809090 [a6989586621679809090]) Source #
SuppressUnusedWarnings (a6989586621679809090 -> a6989586621679809090 -> TyFun a6989586621679809090 [a6989586621679809090] -> *) (EnumFromThenToSym2 a6989586621679809090) Source # | |
type Apply a [a] (EnumFromThenToSym2 a l1 l2) l3 Source # | |
type EnumFromThenToSym3 (t :: a6989586621679809090) (t :: a6989586621679809090) (t :: a6989586621679809090) = EnumFromThenTo t t t Source #