> On Sep 16, 2017, at 17:03, Alexander Ilin <[email protected]> wrote:
> 
> Hello!
> 
>  Do we have TYPED: methods in Factor?
>  Like, for when I want to have a M:ethod that performs type checks on the 
> arguments other than the dispatch variable.

We don’t, as far as I know; if you wanted to do this “right”, I believe you’d 
have to extend the object system a bit. But it’d be pretty trivial (depending 
on context) to just have your M: implementation immediately pass things off to 
a TYPED: word and get most of the benefits for little cost.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to