Jonadab the Unsightly One skribis 2004-07-03 13:33 (-0400): > > e.g., is this legal? > > sub infix:before ( $before, $after ){ ... } > I should HOPE it would be legal to define infix:before.
There already are infix:x and infix:xx. If Perl 6 will let us define our own operators just like built in ones, infix:before should also be possible. And infix:¥ (for those like me who have a simple terminal that doesn't know how to display this, or are suffering from my lack of config-fu to get headers and encodings synched: this is Yen, created using ^KYe in vim. I see a dashed rectangle.) will in my programs probably only be used through infix:Y or infix:z, which I will define myself if necessary. (zip() is not infix and thus not an *equivalent* alternative.) Juerd