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.
^
6728a11 ^
a073d76 ^













80e891a ^


a073d76 ^



80e891a ^

a073d76 ^







80e891a ^

a073d76 ^


6728a11 ^
a073d76 ^











80e891a ^
a073d76 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87