Idris2Doc : Data.Prim.Int32

Data.Prim.Int32

(source)

Reexports

importpublic Algebra.Ring
importpublic Control.Order
importpublic Control.Relation
importpublic Control.Relation.ReflexiveClosure
importpublic Control.Relation.Trichotomy
importpublic Control.WellFounded
importpublic Data.Maybe0

Definitions

data(<) : Int32->Int32->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
TransitiveInt32(<)
TrichotomousInt32(<)

Fixity Declaration: infix operator, level 6
unerase : (0_ : m<n) ->m<n
  Makes a compile-time proof of `x < y` available at runtime.

Heads up: `(<)` is not supposed to be used or even needed at runtime,
as it will be erased anymay. However, this function is sometimes
required, for instance when implementing interface `Connex`.

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

Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 6
0(<=) : Int32->Int32->Type
  Alias for `ReflexiveClosure (<) m n`

Totality: total
Visibility: public export
Fixity Declaration: infix operator, level 6
lt : (x : Int32) -> (y : Int32) ->Maybe0 (x<y)
Totality: total
Visibility: public export
lte : (x : Int32) -> (y : Int32) ->Maybe0 (x<=y)
Totality: total
Visibility: public export
comp : (m : Int32) -> (n : Int32) ->Trichotomy(<)mn
Totality: total
Visibility: export
MinInt32 : Int32
  Lower bound of `Int32`

Totality: total
Visibility: public export
MaxInt32 : Int32
  Upper bound of `Int32`

Totality: total
Visibility: public export
0GTE_MinInt32 : (m : Int32) ->MinInt32<=m
  `m >= 0` for all `m` of type `Int32`.

Totality: total
Visibility: export
0Not_LT_MinInt32 : m<MinInt32->Void
  Not value of type `Int32` is less than zero.

Totality: total
Visibility: export
0LTE_MaxInt32 : (m : Int32) ->m<=MaxInt32
  `m <= MaxInt32` for all `m` of type `Int32`.

Totality: total
Visibility: export
0Not_GT_MaxInt32 : m>MaxInt32->Void
  Not value of type `Int32` is greater than `MaxInt32`.

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

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

Totality: total
Visibility: export