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 (kproxy ~ Proxy) => PBounded kproxy where
- class SBounded a where
- class (kproxy ~ Proxy) => PEnum kproxy 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
- type SuccSym1 t = Succ t
- data PredSym0 l
- type PredSym1 t = Pred t
- data ToEnumSym0 l
- type ToEnumSym1 t = ToEnum t
- data FromEnumSym0 l
- type FromEnumSym1 t = FromEnum t
- data EnumFromToSym0 l
- data EnumFromToSym1 l l
- type EnumFromToSym2 t t = EnumFromTo t t
- data EnumFromThenToSym0 l
- data EnumFromThenToSym1 l l
- data EnumFromThenToSym2 l l l
- type EnumFromThenToSym3 t t t = EnumFromThenTo t t t
Documentation
class (kproxy ~ Proxy) => PBounded kproxy Source #
PBounded Bool (Proxy * Bool) Source # | |
PBounded Ordering (Proxy * Ordering) Source # | |
PBounded () (Proxy * ()) Source # | |
PBounded (a0, b0) (Proxy * (a0, b0)) Source # | |
PBounded (a0, b0, c0) (Proxy * (a0, b0, c0)) Source # | |
PBounded (a0, b0, c0, d0) (Proxy * (a0, b0, c0, d0)) Source # | |
PBounded (a0, b0, c0, d0, e0) (Proxy * (a0, b0, c0, d0, e0)) Source # | |
PBounded (a0, b0, c0, d0, e0, f0) (Proxy * (a0, b0, c0, d0, e0, f0)) Source # | |
PBounded (a0, b0, c0, d0, e0, f0, g0) (Proxy * (a0, b0, c0, d0, e0, f0, g0)) Source # | |
class SBounded a where Source #
sMinBound :: Sing (MinBoundSym0 :: a) Source #
sMaxBound :: Sing (MaxBoundSym0 :: a) Source #
SBounded Bool Source # | |
SBounded Ordering Source # | |
SBounded () Source # | |
(SBounded a0, SBounded b0) => SBounded (a0, b0) Source # | |
(SBounded a0, SBounded b0, SBounded c0) => SBounded (a0, b0, c0) Source # | |
(SBounded a0, SBounded b0, SBounded c0, SBounded d0) => SBounded (a0, b0, c0, d0) Source # | |
(SBounded a0, SBounded b0, SBounded c0, SBounded d0, SBounded e0) => SBounded (a0, b0, c0, d0, e0) Source # | |
(SBounded a0, SBounded b0, SBounded c0, SBounded d0, SBounded e0, SBounded f0) => SBounded (a0, b0, c0, d0, e0, f0) Source # | |
(SBounded a0, SBounded b0, SBounded c0, SBounded d0, SBounded e0, SBounded f0, SBounded g0) => SBounded (a0, b0, c0, d0, e0, f0, g0) Source # | |
sSucc :: forall t. Sing t -> Sing (Apply SuccSym0 t :: a) Source #
sPred :: forall t. Sing t -> Sing (Apply PredSym0 t :: a) Source #
sToEnum :: forall t. Sing t -> Sing (Apply ToEnumSym0 t :: a) Source #
sFromEnum :: forall t. Sing t -> Sing (Apply FromEnumSym0 t :: Nat) Source #
sEnumFromTo :: forall t t. Sing t -> Sing t -> Sing (Apply (Apply EnumFromToSym0 t) t :: [a]) Source #
sEnumFromThenTo :: forall t t t. Sing t -> Sing t -> Sing t -> Sing (Apply (Apply (Apply EnumFromThenToSym0 t) t) t :: [a]) Source #
sSucc :: forall t. (Apply SuccSym0 t ~ Apply Succ_1627864792Sym0 t) => Sing t -> Sing (Apply SuccSym0 t :: a) Source #
sPred :: forall t. (Apply PredSym0 t ~ Apply Pred_1627864805Sym0 t) => Sing t -> Sing (Apply PredSym0 t :: a) Source #
sEnumFromTo :: forall t t. (Apply (Apply EnumFromToSym0 t) t ~ Apply (Apply EnumFromTo_1627864823Sym0 t) t) => Sing t -> Sing t -> Sing (Apply (Apply EnumFromToSym0 t) t :: [a]) Source #
sEnumFromThenTo :: forall t t t. (Apply (Apply (Apply EnumFromThenToSym0 t) t) t ~ Apply (Apply (Apply EnumFromThenTo_1627864853Sym0 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 Source #
SuppressUnusedWarnings (TyFun Nat a1627864213 -> *) (ToEnumSym0 a1627864213) Source # | |
type Apply Nat k2 (ToEnumSym0 k2) l0 Source # | |
type ToEnumSym1 t = ToEnum t Source #
data FromEnumSym0 l Source #
SuppressUnusedWarnings (TyFun a1627864213 Nat -> *) (FromEnumSym0 a1627864213) Source # | |
type Apply a1627864213 Nat (FromEnumSym0 a1627864213) l0 Source # | |
type FromEnumSym1 t = FromEnum t Source #
data EnumFromToSym0 l Source #
SuppressUnusedWarnings (TyFun a1627864213 (TyFun a1627864213 [a1627864213] -> Type) -> *) (EnumFromToSym0 a1627864213) Source # | |
type Apply a1627864213 (TyFun a1627864213 [a1627864213] -> Type) (EnumFromToSym0 a1627864213) l0 Source # | |
data EnumFromToSym1 l l Source #
SuppressUnusedWarnings (a1627864213 -> TyFun a1627864213 [a1627864213] -> *) (EnumFromToSym1 a1627864213) Source # | |
type Apply a1627864213 [a1627864213] (EnumFromToSym1 a1627864213 l1) l0 Source # | |
type EnumFromToSym2 t t = EnumFromTo t t Source #
data EnumFromThenToSym0 l Source #
data EnumFromThenToSym1 l l Source #
SuppressUnusedWarnings (a1627864213 -> TyFun a1627864213 (TyFun a1627864213 [a1627864213] -> Type) -> *) (EnumFromThenToSym1 a1627864213) Source # | |
type Apply a1627864213 (TyFun a1627864213 [a1627864213] -> Type) (EnumFromThenToSym1 a1627864213 l1) l0 Source # | |
data EnumFromThenToSym2 l l l Source #
SuppressUnusedWarnings (a1627864213 -> a1627864213 -> TyFun a1627864213 [a1627864213] -> *) (EnumFromThenToSym2 a1627864213) Source # | |
type Apply a1627864213 [a1627864213] (EnumFromThenToSym2 a1627864213 l1 l2) l0 Source # | |
type EnumFromThenToSym3 t t t = EnumFromThenTo t t t Source #