On Thursday 01 March 2007 20:04, Matthew Willis wrote:

> I think you're talking about "multiple dispatch", which I don't think
> Factor supports.  So, the only way to dispatch on two arguments is to
> build your own dispatch mechanism, I believe.

Young padawan,

http://factorcode.org/responder/help/show-help?topic=method%2dcombination

Factor supports this out of the box.

The relevant part of that article:

        The method combination is this control flow glue between the set of 
methods,
        and several aspects of it can be customized:

                - which stack item(s) the generic word dispatches upon,

Ed

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to