2014-08-01 10:37:55 -07:00
|
|
|
data
|
|
|
|
====
|
|
|
|
|
2014-08-14 20:12:54 -07:00
|
|
|
Various data types.
|
2014-08-01 10:37:55 -07:00
|
|
|
|
|
|
|
Basic types:
|
|
|
|
|
2014-08-11 17:35:25 -07:00
|
|
|
* [empty](empty.lean) : the empty type
|
2014-08-01 10:37:55 -07:00
|
|
|
* [unit](unit.lean) : the singleton type
|
2014-12-23 15:35:06 -05:00
|
|
|
* [bool](bool.lean) : the boolean values
|
|
|
|
* [num](num.lean) : generic numerals
|
2014-08-01 10:37:55 -07:00
|
|
|
* [string](string.lean) : ascii strings
|
|
|
|
* [nat](nat/nat.md) : the natural numbers
|
2014-12-22 15:33:29 -05:00
|
|
|
* [fin](fin.lean) : finite ordinals
|
2014-08-01 10:37:55 -07:00
|
|
|
* [int](int/int.md) : the integers
|
|
|
|
|
|
|
|
Constructors:
|
|
|
|
|
2014-08-14 20:12:54 -07:00
|
|
|
* [prod](prod.lean) : cartesian product
|
|
|
|
* [sum](sum.lean)
|
|
|
|
* [sigma](sigma.lean) : the dependent product
|
2014-08-01 10:37:55 -07:00
|
|
|
* [option](option.lean)
|
2014-08-14 20:12:54 -07:00
|
|
|
* [subtype](subtype.lean)
|
2014-08-19 19:32:44 -07:00
|
|
|
* [quotient](quotient/quotient.md)
|
2014-08-01 10:37:55 -07:00
|
|
|
* [list](list/list.md)
|
2014-12-22 15:33:29 -05:00
|
|
|
* [set](set.lean)
|
|
|
|
* [vector](vector.lean)
|