summaryrefslogtreecommitdiffhomepage
path: root/coq.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'coq.html.markdown')
-rw-r--r--coq.html.markdown4
1 files changed, 2 insertions, 2 deletions
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 *)