Skip to content

Commit

Permalink
Merge pull request #699 from stepchowfun/underscore
Browse files Browse the repository at this point in the history
Let an obvious type be inferred
  • Loading branch information
stepchowfun authored Jan 25, 2025
2 parents b304e52 + 0a4a91e commit 2e81776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proofs/tutorial/lesson2_dependent_types.v
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ Fail Check
*)

Check
match Nat.even n as b return BoolToType b -> nat with
match Nat.even n as b return BoolToType b -> _ with
| true => fun y => y + 1
| false => fun y => length y
end x.
Expand Down

0 comments on commit 2e81776

Please sign in to comment.