Use the correct identifier name

This commit is contained in:
Kartik Singhal 2017-08-08 17:26:07 -07:00 committed by GitHub
parent 6e7c5c7933
commit 6b2d12747b

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