[Factor-talk] Method overriding syntax in hierarchy

2011-07-24 Thread Michele Pes
Hi factorers! I'm new to factor, but very interested. I have a tuple A, and a tuple B that derives from A (B A) If both have a method f and I have an instance of B, how can I call the method of the parent (A::f in c++ syntax) ? Thanks in advance michele

Re: [Factor-talk] Method overriding syntax in hierarchy

2011-07-24 Thread Anton Gorenko
Hi! Use call-next-method (http://docs.factorcode.org/content/article-call-next-method.html). Regards, Anton 2011/7/24 Michele Pes mp8...@rambler.ru: Hi factorers! I'm new to factor, but very interested. I have a tuple A, and a tuple B that derives from A (B A) If both have a method f and

Re: [Factor-talk] Method overriding syntax in hierarchy

2011-07-24 Thread Samuel Tardieu
2011/7/24 Michele Pes mp8...@rambler.ru Hi factorers! I'm new to factor, but very interested. I have a tuple A, and a tuple B that derives from A (B A) If both have a method f and I have an instance of B, how can I call the method of the parent (A::f in c++ syntax) ? If you want to call