Skip to content

Commit

Permalink
doc: correct typo "can calls" (#3446)
Browse files Browse the repository at this point in the history
Fixes a minor typo.
  • Loading branch information
philderbeast authored Feb 21, 2024
1 parent 6e821de commit 9a97061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/monads/except.lean
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ convert the pure non-monadic value `x / y` into the required `Except` object. S
Now this return typing would get tedious if you had to include it everywhere that you call this
function, however, Lean type inference can clean this up. For example, you can define a test
function can calls the `divide` function and you don't need to say anything here about the fact that
function that calls the `divide` function and you don't need to say anything here about the fact that
it might throw an error, because that is inferred:
-/
def test := divide 5 0
Expand Down

0 comments on commit 9a97061

Please sign in to comment.