Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data Uniform :: a -> [a] -> Type where Source #
A
is a witness that every item in Uniform
a asas
is
(identically) a
.
Witness ØC (Known [a] (Length a) ms) (Uniform a m ms) Source # | |
Known [a] (Uniform a n) ([] a) Source # | |
Known [a] (Uniform a n) ns => Known [a] (Uniform a n) ((:) a n ns) Source # | |
Show (Uniform a a1 as) Source # | |
type WitnessC ØC (Known [a] (Length a) ms) (Uniform a m ms) Source # | |
type KnownC [a] (Uniform a n) ([] a) Source # | |
type KnownC [a] (Uniform a n) ((:) a n ns) Source # | |
uniformLength :: Uniform n ns -> Length ns Source #
replicateUniform :: forall x n. Nat n -> Uniform x (Replicate n x) Source #