data Literal : Shape -> Type -> Type A scalar or array of values.
Totality: total
Visibility: public export
Constructors:
Scalar : a -> Literal [] a Nil : Literal (0 :: ds) a (::) : Literal ds a -> Literal (d :: ds) a -> Literal (S d :: ds) a
Hints:
Applicative (Literal shape) Cast (Array shape a) (Literal shape a) Eq a => Eq (Literal shape a) Foldable (Literal shape) Functor (Literal shape) Num a => Num (Literal [] a) Show a => Show (Literal shape a) Traversable (Literal shape) Zippable (Literal shape)
fromInteger : Integer -> Literal [] Int32- Totality: total
Visibility: export fromDouble : Double -> Literal [] Double- Totality: total
Visibility: export True : Literal [] Bool Convenience aliases for scalar boolean literals.
Totality: total
Visibility: exportFalse : Literal [] Bool Convenience aliases for scalar boolean literals.
Totality: total
Visibility: exportall : Literal shape Bool -> Bool `True` if no elements are `False`. `all []` is `True`.
Totality: total
Visibility: exportnegate : Neg a => Literal shape a -> Literal shape a- Totality: total
Visibility: export
Fixity Declaration: prefix operator, level 10 data All : (0 _ : (a -> Type)) -> Literal shape a -> Type An `All p xs` is an array (or scalar) of proofs about each element in `xs`.
For example, an `All IsSucc xs` proves that every element in `xs` is non-zero.
Totality: total
Visibility: public export
Constructors:
Scalar : p x -> All p (Scalar x) Nil : All p [] (::) : All p x -> All p xs -> All p (x :: xs)
data All2 : (a -> b -> Type) -> Literal shape a -> Literal shape b -> Type An `All2 p xs ys` is an array (or scalar) of pairwise proofs about elements in `xs` and `ys`.
For example, an `All2 LT xs ys` proves that each number in `xs` is less than the number in
`ys` at the same position.
Totality: total
Visibility: public export
Constructors:
Scalar : p a b -> All2 p (Scalar a) (Scalar b) Nil : All2 p [] [] (::) : All2 p a b -> All2 p as bs -> All2 p (a :: as) (b :: bs)