delegate: not sure why protocols can be defined with arrays, but...
parent
d750197a7e
commit
d1009d74f4
|
@ -158,6 +158,7 @@ M: consultation forget*
|
|||
ERROR: not-a-generic word ;
|
||||
|
||||
: check-generic ( generic -- )
|
||||
dup array? [ first ] when
|
||||
dup generic? [ drop ] [ not-a-generic ] if ;
|
||||
|
||||
PRIVATE>
|
||||
|
|
Loading…
Reference in New Issue