lean2/library/data/data.md
2015-06-25 17:30:12 -07:00

1 KiB

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
  • pnat : the positive natural numbers
  • real : the real numbers

Constructors:

Types with extra information: