From c5d94d3493c411ce6843a0f6c80b72ca16e3801e Mon Sep 17 00:00:00 2001 From: dbenn Date: Sat, 13 Mar 2021 12:26:11 +1030 Subject: Update coq.html.markdown Suggested correction to make_inc and inc_2 as having `nat` types rather than `int`. --- coq.html.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'coq.html.markdown') diff --git a/coq.html.markdown b/coq.html.markdown index 4c1ad690..b3cc27fc 100644 --- a/coq.html.markdown +++ b/coq.html.markdown @@ -61,8 +61,8 @@ Locate "+". (* Calling a function with insufficient number of arguments does not cause an error, it produces a new function. *) -Definition make_inc x y := x + y. (* make_inc is int -> int -> int *) -Definition inc_2 := make_inc 2. (* inc_2 is int -> int *) +Definition make_inc x y := x + y. (* make_inc is nat -> nat -> nat *) +Definition inc_2 := make_inc 2. (* inc_2 is nat -> nat *) Compute inc_2 3. (* Evaluates to 5 *) -- cgit v1.2.3 From 835bae31efb57d5d0bcd28de962750fac4333c5a Mon Sep 17 00:00:00 2001 From: dbenn Date: Sat, 13 Mar 2021 13:44:58 +1030 Subject: [coq/en] 8-bits => 8-bit change 8-bits in comment to singular --- coq.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coq.html.markdown') diff --git a/coq.html.markdown b/coq.html.markdown index 4c1ad690..63d5468a 100644 --- a/coq.html.markdown +++ b/coq.html.markdown @@ -370,7 +370,7 @@ Close Scope string_scope. power series and results,...) • Relations : Relations (definitions and basic results) • Sorting : Sorted list (basic definitions and heapsort correctness) -• Strings : 8-bits characters and strings +• Strings : 8-bit characters and strings • Wellfounded : Well-founded relations (basic results) *) -- cgit v1.2.3 From 160ecc8be8cdb79994a4c150927b2f4b1d164923 Mon Sep 17 00:00:00 2001 From: dbenn Date: Sat, 13 Mar 2021 14:39:37 +1030 Subject: [coq/en] remove extra "prove" from comment Line 475 has an extra "prove" in a comment so removed it --- coq.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coq.html.markdown') diff --git a/coq.html.markdown b/coq.html.markdown index 4c1ad690..bbc613ce 100644 --- a/coq.html.markdown +++ b/coq.html.markdown @@ -472,7 +472,7 @@ Proof. intros A B ab. destruct ab as [ a b ]. apply a. Qed. -(* We can prove easily prove simple polynomial equalities using the +(* We can easily prove simple polynomial equalities using the automated tactic ring. *) Require Import Ring. -- cgit v1.2.3