summaryrefslogtreecommitdiffhomepage
path: root/standard-ml.html.markdown
diff options
context:
space:
mode:
authorKartik Singhal <kartiksinghal@gmail.com>2017-08-08 17:26:07 -0700
committerGitHub <noreply@github.com>2017-08-08 17:26:07 -0700
commit6b2d12747b1297ceadf3d85192036130967fda3c (patch)
tree5976acdffb748d33082dbfbeccdbec23d79a652f /standard-ml.html.markdown
parent6e7c5c793327f4a63b13e555894597915ca91fda (diff)
Use the correct identifier name
Diffstat (limited to 'standard-ml.html.markdown')
-rw-r--r--standard-ml.html.markdown2
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 *)