diff options
author | Kartik Singhal <kartiksinghal@gmail.com> | 2017-08-08 17:26:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-08 17:26:07 -0700 |
commit | 6b2d12747b1297ceadf3d85192036130967fda3c (patch) | |
tree | 5976acdffb748d33082dbfbeccdbec23d79a652f /standard-ml.html.markdown | |
parent | 6e7c5c793327f4a63b13e555894597915ca91fda (diff) |
Use the correct identifier name
Diffstat (limited to 'standard-ml.html.markdown')
-rw-r--r-- | standard-ml.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/standard-ml.html.markdown b/standard-ml.html.markdown index c9eb2a2e..c286366b 100644 --- a/standard-ml.html.markdown +++ b/standard-ml.html.markdown @@ -385,7 +385,7 @@ fun calculate_interest(n) = if n < 0.0 (* Exceptions can be caught using "handle" *) val balance = calculate_interest ~180.0 - handle Domain => ~180.0 (* x now has the value ~180.0 *) + handle Domain => ~180.0 (* balance now has the value ~180.0 *) (* Some exceptions carry extra information with them *) (* Here are some examples of built-in exceptions *) |