about summary refs log tree commit diff stats
path: root/exception2.mu
Commit message (Collapse)AuthorAgeFilesLines
* 4261 - start using literals for 'true' and 'false'Kartik Agaram2018-06-171-2/+2
| | | | | | | | | They uncovered one bug: in edit/003-shortcuts.mu <scroll-down> was returning 0 for an address in one place where I thought it was returning 0 for a boolean. Now we've eliminated this bad interaction between tangling and punning literals.
* 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.