Merge pull request #2822 from k4rtik/master

[standard-ml/en] Use the correct identifier name
This commit is contained in:
Adam Bard 2017-08-18 10:18:21 -07:00 committed by GitHub
commit 0d510c5528

View File

@ -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 *)