Skip to content

Commit 86c6869

Browse files
authored
Merge pull request #20 from sinianluoye/issue/14
fix deploy error
2 parents 21d377b + dd20cca commit 86c6869

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Manual/Language/InductiveTypes.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Type constructors with indices are said to specify {deftech}_indexed families_ {
208208

209209
索引实际上定义了一个_类型族_。
210210
每次索引取值确定,就从族中选出一个类型,该类型有它各自的构造子。
211-
含索引的类型构造子即定义了一个 {deftech}_带索引类型族_ {index subterm:="of types"}[带索引类型族]。
211+
含索引的类型构造子即定义了一个 {deftech key:="indexed family"}_索引族_ {index subterm:="of types"}[带索引类型族]。
212212

213213
/-
214214
## Example Inductive Types
@@ -800,7 +800,7 @@ axiom α : Prop
800800

801801
* {lean}`Float` 由指向包含 `double` 的 Lean 对象的指针表示。
802802

803-
* {deftech}_枚举归纳类型_,即至少 2 个、且不超过 $`2^{32}` 个构造子,且构造子无参数的类型,用 {c}`uint8_t`、{c}`uint16_t`、{c}`uint32_t` 中能一一编号的最小类型表示。例如,{lean}`Bool` 用 {c}`uint8_t` 表示,{lean}`false` 为 {c}`0`,{lean}`true` 为 {c}`1`。{TODO}[需确认此处“无相关参数”描述是否准确]
803+
* {deftech key:="enum inductive"}_枚举归纳类型_,即至少 2 个、且不超过 $`2^{32}` 个构造子,且构造子无参数的类型,用 {c}`uint8_t`、{c}`uint16_t`、{c}`uint32_t` 中能一一编号的最小类型表示。例如,{lean}`Bool` 用 {c}`uint8_t` 表示,{lean}`false` 为 {c}`0`,{lean}`true` 为 {c}`1`。{TODO}[需确认此处“无相关参数”描述是否准确]
804804

805805
* {lean}`Decidable α` 的表示与 `Bool` 相同。{TODO}[其实 Decidable 和 Bool 只是“无参数/无相关性”规则的特例?]
806806

deploy/generate.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/usr/bin/env bash
22

3-
lake --quiet exe generate-manual --depth 2 --verbose --without-html-single --output "html"
3+
# lake --quiet exe generate-manual --depth 2 --verbose --without-html-single --output "html"
4+
lake --log-level=error exe generate-manual --depth 2 --without-html-single --output "html"

0 commit comments

Comments
 (0)