On May 28, 2009, at 06:43 , Jon Lang wrote:
What I'm wondering is how the list knows to feed two items into '[+]'.
While 'infix:<+>' must accept exactly two arguments, '[+]' can accept
an arbitrarily long (or short) list of arguments.

I thought that at first too, then remembered a discussion about generalizing the meaning of square brackets and how &[op] fell out of it automatically to take a reference to an operator without using the infix:<op> syntax.

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allb...@kf8nh.com
system administrator [openafs,heimdal,too many hats] allb...@ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to