feat(library/data): update defaults and markdown files

This commit is contained in:
Jeremy Avigad 2015-05-08 20:23:15 +10:00
parent b56f7a06d5
commit 75e50fd371
5 changed files with 25 additions and 13 deletions

View file

@ -20,9 +20,17 @@ Constructors:
* [prod](prod.lean) : cartesian product * [prod](prod.lean) : cartesian product
* [sum](sum.lean) * [sum](sum.lean)
* [sigma](sigma.lean) : the dependent product * [sigma](sigma.lean) : the dependent product
* [uprod](uprod.lean) : unordered pairs
* [option](option.lean) * [option](option.lean)
* [subtype](subtype.lean) * [subtype](subtype.lean)
* [quotient](quotient/quotient.md) * [quotient](quotient/quotient.md)
* [squash](squash.lean) : propositional truncation
* [list](list/list.md) * [list](list/list.md)
* [finset](finset/finset.md) : finite sets
* [set](set/set.md) * [set](set/set.md)
* [vector](vector.lean) * [vector](vector.lean)
Types with extra information:
* [fintype](fintype.lean) : finite types
* [encodable](encodable.lean) : types with a coding to nat

View file

@ -5,5 +5,5 @@ Released under Apache 2.0 license as described in the file LICENSE.
Module: data.default Module: data.default
Author: Jeremy Avigad Author: Jeremy Avigad
-/ -/
import .empty .unit .bool .num .string .nat .int import .empty .unit .bool .num .string .nat .int .fintype
import .prod .sum .sigma .option .subtype .quotient .list .set import .prod .sum .sigma .option .subtype .quotient .list .finset .set

View file

@ -1,10 +1,8 @@
/- /-
Copyright (c) 2015 Microsoft Corporation. All rights reserved. Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE. Released under Apache 2.0 license as described in the file LICENSE.
Module: data.finset
Author: Leonardo de Moura Author: Leonardo de Moura
Finite sets Finite sets.
-/ -/
import data.finset.basic data.finset.comb data.finset.bigop import data.finset.basic data.finset.comb data.finset.card data.finset.bigop

View file

@ -1,5 +1,7 @@
-- Copyright (c) 2014 Microsoft Corporation. All rights reserved. /-
-- Released under Apache 2.0 license as described in the file LICENSE. Copyright (c) 2014 Microsoft Corporation. All rights reserved.
-- Author: Jeremy Avigad Released under Apache 2.0 license as described in the file LICENSE.
Author: Jeremy Avigad
-/
import data.list.basic data.list.comb data.list.set data.list.perm import data.list.basic data.list.comb data.list.set data.list.perm
import data.list.bigop data.list.as_type import data.list.bigop data.list.as_type

View file

@ -1,7 +1,11 @@
data.list data.list
========= =========
Lists of elements of a fixed type. By default, `import list` imports List of elements of a fixed type. By default, `import list` imports everything here.
everything here.
[basic](basic.lean) : basic operations and properties [basic](basic.lean) : basic operations and properties
[comb](comb.lean) : combinators and list constructions
[set](set.lean) : set-like operations (these support the finset construction)
[perm](perm.lean) : equivalence up to permutation (these support the finset construction)
[bigop](bigop.lean) : "big" operations
[as_type](as_type.lean) : treats a list as a type