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