about summary refs log tree commit diff stats
path: root/exception2.mu
Commit message (Collapse)AuthorAgeFilesLines
* 4230Kartik K. Agaram2018-03-161-2/+0
|
* 4228Kartik K. Agaram2018-03-151-1/+1
|
* 4227 - second example implementing exceptionsKartik K. Agaram2018-03-151-0/+64
I think I like this better. It doesn't violate the type system. Still two sources of klunkiness: a) We need to add dead code because we don't consider exceptions when we add implicit 'return' statements to functions. Should be easy to fix. b) Still no way to create a generic 'try' function. This will be hard to fix.