Idris2Doc : Data.Prim.Int16

Data.Prim.Int16

(source)

Reexports

importpublic Control.WellFounded
importpublic Data.DPair
importpublic Data.Prim.Ord
importpublic Algebra.Solver.Ring

Definitions

data(<) : Int16->Int16->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
TotalInt16(<)
WellFoundedInt16(<)

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

This can only be used in an erased context.

Totality: total
Visibility: export
0runLT : 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(>) : Int16->Int16->Type
  Flipped version of `(<)`.

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

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

Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 6
0(/=) : Int16->Int16->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 : Int16) -> (n : Int16) ->Trichotomy(<)mn
Totality: total
Visibility: export
MinInt16 : Int16
  Lower bound of `Int16`

Totality: total
Visibility: public export
MaxInt16 : Int16
  Upper bound of `Int16`

Totality: total
Visibility: public export
0GTE_MinInt16 : (m : Int16) ->m>=MinInt16
  `m >= MinInt16` for all `m` of type `Int16`.

Totality: total
Visibility: export
0Not_LT_MinInt16 : m<MinInt16->Void
  Not value of type `Int16` is less than zero.

Totality: total
Visibility: export
0LTE_MaxInt16 : (m : Int16) ->m<=MaxInt16
  `m <= MaxInt16` for all `m` of type `Int16`.

Totality: total
Visibility: export
0Not_GT_MaxInt16 : m>MaxInt16->Void
  Not value of type `Int16` is greater than `MaxInt16`.

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

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

Totality: total
Visibility: export
sdiv : Int16-> (d : Int16) -> {auto0_ : d/=0} ->Int16
  Safe division.

Totality: total
Visibility: export
smod : Int16-> (d : Int16) -> {auto0_ : d/=0} ->Int16
  Safe modulo.

Totality: total
Visibility: export