classes.union: woops, reduce in fast-union-mask.
parent
80bd0feaef
commit
61964d0f46
|
@ -22,7 +22,7 @@ M: class union-of-builtins?
|
||||||
drop f ;
|
drop f ;
|
||||||
|
|
||||||
: fast-union-mask ( class -- n )
|
: fast-union-mask ( class -- n )
|
||||||
flatten-class 0 [ class>type 2^ bitor ] each ;
|
flatten-class 0 [ class>type 2^ bitor ] reduce ;
|
||||||
|
|
||||||
: empty-union-predicate-quot ( class -- quot )
|
: empty-union-predicate-quot ( class -- quot )
|
||||||
drop [ drop f ] ;
|
drop [ drop f ] ;
|
||||||
|
|
Loading…
Reference in New Issue