summaryrefslogtreecommitdiffhomepage
path: root/standard-ml.html.markdown
diff options
context:
space:
mode:
authorAdam Bard <github@adambard.com>2017-08-18 10:18:21 -0700
committerGitHub <noreply@github.com>2017-08-18 10:18:21 -0700
commit0d510c5528831061b4256ebcd20a847626ca8f7a (patch)
tree5c4567d4463d5d8ff69902dbbcec606cdeed7e7c /standard-ml.html.markdown
parent7c2112729f37bd2c6cbb1ad8c50a73691df5a5c2 (diff)
parent6b2d12747b1297ceadf3d85192036130967fda3c (diff)
Merge pull request #2822 from k4rtik/master
[standard-ml/en] 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 *)