about summary refs log tree commit diff stats
path: root/html/archive/2.vm/f2c-1.mu
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/archive/2.vm/f2c-1.mu
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/archive/2.vm/f2c-1.mu')
0 files changed, 0 insertions, 0 deletions
1fca8ee1 ^
775f77c3 ^
dc5a0acf ^

775f77c3 ^

78357b88 ^
52e3ea8a ^


775f77c3 ^



1fca8ee1 ^
775f77c3 ^




























762107fd ^
775f77c3 ^





















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