delegate: not sure why protocols can be defined with arrays, but...

db4
John Benediktsson 2011-10-18 20:40:14 -07:00
parent d750197a7e
commit d1009d74f4
1 changed files with 1 additions and 0 deletions

View File

@ -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>