about summary refs log tree commit diff stats
path: root/html/linux/bootstrap/040tests.cc.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-06-11 21:36:12 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-06-11 21:36:12 -0700
commit0dc4f9c62bf26b373284e7d27aa41c500c8bd16a (patch)
tree4119cdfd28b77cb2b15e6b3173a5c899db8801c2 /html/linux/bootstrap/040tests.cc.html
parent31918612428c82652934be7b2e3ffc347e19ff2c (diff)
downloadmu-0dc4f9c62bf26b373284e7d27aa41c500c8bd16a.tar.gz
hacky bugfix: support floats in nth
Needed because we don't yet have a primitive in the shell to truncate/round
non-integers to integers.

Before:
  (nth (/ 31 10)    # we don't have float literals yet
       '(1 2 3 4))
  => NULL

..with an unpleasant abort likely later on.

Really the correct thing to do is ensure none of my primitives ever returns
NULL. Start with car/cdr.
Diffstat (limited to 'html/linux/bootstrap/040tests.cc.html')
0 files changed, 0 insertions, 0 deletions
ests/test_cmd_rooms.c?id=8685e78c86ecd579078aaad961bd23eaba5e3e84'>8685e78c ^
2490f5b4 ^
71577c1f ^
447d2358 ^
71577c1f ^
d56f6dc3 ^
3e3786eb ^
5c65599e ^
00a475cf ^
d56f6dc3 ^
5c65599e ^
2490f5b4 ^
447d2358 ^































8685e78c ^
447d2358 ^
5c65599e ^
c4412fe8 ^













447d2358 ^
00a475cf ^


8685e78c ^
00a475cf ^

5c65599e ^
2490f5b4 ^
71577c1f ^
3e3786eb ^
71577c1f ^



bf347ab9 ^
447d2358 ^

5c65599e ^
447d2358 ^
00a475cf ^


5c65599e ^
2490f5b4 ^
447d2358 ^




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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107