Skip to content

Commit

Permalink
Merge pull request adambard#4140 from dbenn/patch-1
Browse files Browse the repository at this point in the history
[coq/en] Update coq.html.markdown
  • Loading branch information
mxschumacher authored Mar 21, 2021
2 parents 4452699 + c5d94d3 commit 1c5fecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coq.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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 *)
Expand Down

0 comments on commit 1c5fecd

Please sign in to comment.