Re: Pondering parameterized operators

2003-09-28 Thread Luke Palmer
Eirik Berg Hanssen writes: > Luke Palmer <[EMAIL PROTECTED]> writes: > > You shouldn't parse the right hand side yourself. That fixes the > > issue. > > I was not aware of this option. A6/E6 gave me the impression that > C would override the default parsing of the RHS, not > merely augment

Re: Pondering parameterized operators

2003-09-28 Thread Eirik Berg Hanssen
Luke Palmer <[EMAIL PROTECTED]> writes: > Cool stuff. In my usual pedantic sort of way, I'll go through the > message and fix everything you said. For educational purposes only, of > course :-) Thanks :-) For further education, some more questions/comments, if I may: > # Let's say C

Re: Pondering parameterized operators

2003-09-28 Thread Luke Palmer
Simon Cozens writes: > [EMAIL PROTECTED] (Luke Palmer) writes: > > [$lhs, $rhs]脱\220\215.脱\235\237compile; > > What's that in old money? Eep. I thought I had mutt's utf-8 working, but apparently not. Does anyone who knows about these things want to mail me instructions, or something? That'd be

Re: Pondering parameterized operators

2003-09-28 Thread Simon Cozens
[EMAIL PROTECTED] (Luke Palmer) writes: > [$lhs, $rhs]æ\220\215.æ\235\237compile; What's that in old money? -- As the saying goes, if you give a man a fish, he eats for a day. If you teach him to grep for fish, he'll leave you alone all weekend. If you encourage him to beg for fish, pretty soon

Re: Pondering parameterized operators

2003-09-28 Thread Eirik Berg Hanssen
"Austin Hastings" <[EMAIL PROTECTED]> writes: > [Eirik wrote:] > > Let us see ... somewhat speculative and probably short-of-the-mark > > generalization coming up: > > > > > > macro infix:[ ($lhs, $op, $rhs) > > is parsed(/() \] ()/) { > > return { > > $op($lhs, $rhs) > > };