-
Notifications
You must be signed in to change notification settings - Fork 0
/
APLWinBugs.txt
72 lines (34 loc) · 971 Bytes
/
APLWinBugs.txt
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
APL+WIN V3.6 Bugs
-----------------
1. Missing Error Message
''+{enclose}'1 2'({enclose}{iota}4)
should be a domain error, but isn't
The same expression should be equivalent to
''+0{rho}{enclose}'1 2'({enclose}{iota}4)
due to scalar extension, but isn't (the prototype is much richer).
2. Incorrect Prototype
(0{rho}{enclose} 0 (0 0)) + 0{rho}{enclose} (0 0) 0
should return
0{rho}{enclose} (0 0) (0 0)
but instead returns
0{rho}{enclose} (0 0) 0
3. Incorrect Prototype
2 +/{enclose} 1 2
yields an empty character vector!
4. Error instead of result
'abc'[0.5] 1 2 3
should yield a heterogeneous array, but instead signals a DOMAIN ERROR
5. Incorrect Display
'abc' tclf 'ef'
displays as
abc
ef
instead of
abc ef
followed by a blank row
6. Incorrect Display
0{rho}1 2
displays an empty line
0{rho}{enclose}1 2
displays without skipping a line
7.