Dan,
MIXIN: sequence
INSTANCE: array sequence
INSTANCE: sequence assoc
M: sequence at*
search-alist [ second t ] [ f ] if ;
...
This doesn't work right now, because the implementation of mixins I
posted isn't complete, but this is the general idea for handling this
type of higher-order method specialization.
Also, it occurred to me that unions are just a special case of
mixins, and
UNION: foo bar baz ;
can just expand into
MIXIN: foo
INSTANCE: foo bar
INSTANCE: foo baz
or perhaps UNION: can go away entirely.
Slava
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk