On Thu, May 28, 2009 at 3:13 PM, Larry Wall <la...@wall.org> wrote: > : I mean, prefix ops can be used in reduce, too, right? > > I will let you ponder the meaning of "reduce" a bit more, and the > relationship of that to the respective arity of infixes vs prefixes.
Well, infixes are necessarily binary, but while prefixes tend to be slurpy, I was thinking one could also declare a prefix op with a finite arity. And does [...] only reduce if what's inside is an operator? How do you do a reduce using a plain old binary subroutine? -- Mark J. Reed <markjr...@gmail.com>