Type | Bug | Status | tested | Date | 25-Jun-2009 15:43 |
---|---|---|---|---|---|
Version | alpha 62 | Category | n/a | Submitted by | meijeru |
Platform | All | Severity | minor | Priority | normal |
Summary | set-theoretical operations do not work on blocks of datatype values |
---|---|
Description |
Observing that to-block on a typeset produces a block of datatype values, I tried the following: difference system/catalog/datatypes to-block any-type! (this should give end!, the only one that is not in any-type!) To my disappointment, there was an error message. The others (intersect, union etc.) also do not work. Comparison of datatype values for equality is not forbidden, and that is all that difference has to do. Note that the operations do work on the typesets themselves! |
Example code |
>> difference system/catalog/datatypes to-block any-type! ** Script error: datatype! type is not allowed here >> (last to-block any-type!) == (last system/catalog/datatypes) == true ; comparison of datatypes is feasible - this expression uses the fact that both blocks are ordered >> difference make typeset! system/catalog/datatypes any-type! == make typeset! [end!] |
Assigned to | n/a | Fixed in | alpha 64 | Last Update | 29-Jun-2009 17:02 |
---|
Comments | |
---|---|
(0001069)
BrianH 25-Jun-2009 21:16 |
You should probably mention in a comment here the list of functions that need to be fixed. |
(0001071)
meijeru 25-Jun-2009 21:25 |
DIFFERENCE UNION INTERSECT UNIQUE EXCLUDE |
Date | User | Field | Action | Change |
---|---|---|---|---|
29-Jun-2009 17:02 | BrianH | Status | Modified | built => tested |
28-Jun-2009 22:47 | carl | Fixedin | Modified | => alpha 64 |
28-Jun-2009 22:47 | carl | Status | Modified | reviewed => built |
25-Jun-2009 21:25 | meijeru | Comment : 0001071 | Added | - |
25-Jun-2009 21:16 | BrianH | Comment : 0001069 | Added | - |
25-Jun-2009 21:14 | BrianH | Description | Modified | - |
25-Jun-2009 21:14 | BrianH | Code | Modified | - |
25-Jun-2009 21:14 | BrianH | Status | Modified | submitted => reviewed |
25-Jun-2009 15:43 | meijeru | Ticket | Added | - |