Idris2Doc : Data.Prim.Int8

Data.Prim.Int8

(source)

Reexports

import public Control.WellFounded
import public Data.DPair
import public Data.Prim.Ord
import public Algebra.Solver.Ring

Definitions

data (<) : Int8 -> Int8 -> Type
  Witness that `m < n === True`.

Totality: total
Visibility: export
Constructor: 
LT : (0 _ : m < n = True) -> m < n

Hints:
(0 _ : m < n = True) -> m < n
Total Int8 (<)
WellFounded Int8 (<)

Fixity Declaration: infix operator, level 6
0 mkLT : (0 _ : m < n = True) -> m < n
  Contructor for `(<)`.

This can only be used in an erased context.

Totality: total
Visibility: export
0 runLT : m < n -> m < n = True
  Extractor for `(<)`.

This can only be used in an erased context.

Totality: total
Visibility: export
strictLT : (0 _ : m < n) -> Lazy c -> c
  We don't trust values of type `(<)` too much,
so we use this when creating magical results.

Totality: total
Visibility: export
0 (>) : Int8 -> Int8 -> Type
  Flipped version of `(<)`.

Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 6
0 (<=) : Int8 -> Int8 -> Type
  `m <= n` mean that either `m < n` or `m === n` holds.

Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 6
0 (>=) : Int8 -> Int8 -> Type
  Flipped version of `(<=)`.

Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 6
0 (/=) : Int8 -> Int8 -> Type
  `m /= n` mean that either `m < n` or `m > n` holds.

Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 6
comp : (m : Int8) -> (n : Int8) -> Trichotomy (<) m n
Totality: total
Visibility: export
MinInt8 : Int8
  Lower bound of `Int8`

Totality: total
Visibility: public export
MaxInt8 : Int8
  Upper bound of `Int8`

Totality: total
Visibility: public export
0 GTE_MinInt8 : (m : Int8) -> m >= MinInt8
  `m >= MinInt8` for all `m` of type `Int8`.

Totality: total
Visibility: export
0 Not_LT_MinInt8 : m < MinInt8 -> Void
  Not value of type `Int8` is less than zero.

Totality: total
Visibility: export
0 LTE_MaxInt8 : (m : Int8) -> m <= MaxInt8
  `m <= MaxInt8` for all `m` of type `Int8`.

Totality: total
Visibility: export
0 Not_GT_MaxInt8 : m > MaxInt8 -> Void
  Not value of type `Int8` is greater than `MaxInt8`.

Totality: total
Visibility: export
accessLT : (m : Int8) -> Accessible (<) m
  Every value of type `Int8` is accessible with relation
to `(<)`.

Totality: total
Visibility: export
accessGT : (m : Int8) -> Accessible (>) m
  Every value of type `Int8` is accessible with relation
to `(>)`.

Totality: total
Visibility: export
sdiv : Int8 -> (d : Int8) -> {auto 0 _ : d /= 0} -> Int8
  Safe division.

Totality: total
Visibility: export
smod : Int8 -> (d : Int8) -> {auto 0 _ : d /= 0} -> Int8
  Safe modulo.

Totality: total
Visibility: export