lean2/library/data/data.md
Leonardo de Moura 7db84c7036 refactor(library/data): replace 'fin' with Haitao's 'less_than'
The commit also fixes vector to use the new definition.
2015-06-05 10:33:19 -07:00

961 B

data

Various data types.

Basic types:

  • empty : the empty type
  • unit : the singleton type
  • bool : the boolean values
  • num : generic numerals
  • string : ascii strings
  • nat : the natural numbers
  • fin : finite ordinals
  • int : the integers
  • rat : the rationals

Constructors:

Types with extra information: