Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype Periodic (n :: Nat) = Periodic {
- unPeriodic :: Ordinal n
Documentation
newtype Periodic (n :: Nat) Source #
A coordinate with periodic boundaries, as if on a taurus
Periodic | |
|
((<=) 1 n, KnownNat n) => Enum (Periodic n) Source # | |
Eq (Periodic n) Source # | |
Ord (Periodic n) Source # | |
Show (Periodic n) Source # | |
((<=) 1 n, KnownNat n) => Semigroup (Periodic n) Source # | |
((<=) 1 n, KnownNat n) => Monoid (Periodic n) Source # | |
KnownNat n => ToJSON (Periodic n) Source # | |
KnownNat n => ToJSONKey (Periodic n) Source # | |
KnownNat n => FromJSON (Periodic n) Source # | |
KnownNat n => FromJSONKey (Periodic n) Source # | |
((<=) 1 n, KnownNat n) => Random (Periodic n) Source # | |
((<=) 1 n, KnownNat n) => AffineSpace (Periodic n) Source # | |
((<=) 1 n, KnownNat n) => AdditiveGroup (Periodic n) Source # | |
((<=) 1 n, KnownNat n) => IsCoord (Periodic n) Source # | |
type Diff (Periodic n) Source # | |
type CoordSized (Periodic n) Source # | |