about summary refs log tree commit diff stats
path: root/archive/0.vm.arc/buffered-stdin.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 /archive/0.vm.arc/buffered-stdin.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 'archive/0.vm.arc/buffered-stdin.mu')
0 files changed, 0 insertions, 0 deletions
Kartik Agaram <vc@akkartik.com> 2018-07-10 07:14:07 -0700 committer Kartik Agaram <vc@akkartik.com> 2018-07-10 07:14:07 -0700 4333' href='/akkartik/mu/commit/subx/019syscalls.cc?h=main&id=5bb70d5e7fd487fbde5b1d3ca40ee68343fbd898'>5bb70d5e ^
c442a5ad ^
c88b9e31 ^
b0f89e4f ^
c498f6cd ^
c442a5ad ^

c498f6cd ^
c442a5ad ^
c88b9e31 ^
5cec03b4 ^



c442a5ad ^

54ed56f2 ^
c442a5ad ^
c88b9e31 ^
5cec03b4 ^


c442a5ad ^
5cec03b4 ^
c442a5ad ^
c88b9e31 ^
5cec03b4 ^


c442a5ad ^

54ed56f2 ^
c442a5ad ^
c88b9e31 ^
5cec03b4 ^

c442a5ad ^

54ed56f2 ^
c442a5ad ^
c88b9e31 ^
5cec03b4 ^

c442a5ad ^


54ed56f2 ^
c442a5ad ^
c88b9e31 ^
5cec03b4 ^
2ec6d1e5 ^
c442a5ad ^
2ec6d1e5 ^


c442a5ad ^
2ec6d1e5 ^
95fbb9bf ^

e0d71f95 ^

5cec03b4 ^





a754efc5 ^
5cec03b4 ^


a754efc5 ^
5cec03b4 ^





a754efc5 ^
5cec03b4 ^


2ec6d1e5 ^

c88b9e31 ^
d5d43e04 ^
2ec6d1e5 ^
d5d43e04 ^
2ec6d1e5 ^
d5d43e04 ^
44fdc79f ^
d5d43e04 ^
6362c51d ^
9ad81331 ^
6362c51d ^
d5d43e04 ^

2ec6d1e5 ^

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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123