lean2/library/data/data.md

930 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 integers

Constructors:

Types with extra information: