lean2/library/standard/data/data.md

566 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
  • int : the integers

Constructors: