Hi, 
 
now that the following works in Pugs :)... 
 
  sub infix:<.> (Code &x, Code &y) { sub ($z) { x(y($z)) } } 
  (&say . &int)(10/3);    # 3 
 
  use Set; 
  sub infix:<â> ($item, @set) { 
    set(@set).includes($item); 
  } 
  "foo" â <bar baz foo>;  # true 
  23    â <bar baz foo>;  # false 
 
...we wondered what the default precedence of those user defined infix ops 
should be. 
 
And how do I explicitly define the precedence? 
 
 
--Ingo 
 
--  
Linux, the choice of a GNU | Mathematicians practice absolute freedom. 
generation on a dual AMD   | -- Henry Adams   
Athlon!                    | 

Reply via email to