> > Currying placeholders are scalars > > Is that a general truth? Yes. It proceeds from the fact that $_[0], $_[1], ect are scalars. > It wasn't obvious from RFC 23... If you > rev it, perhaps you could make that clearer. Will do. > Looking back, the defining example did give a list of (;$$$$) in > the prototype. I suppose it would be pretty complex to infer the > type from the expression, unless the placeholder syntax were > extended to ^$_, ^@_, ^%_, and similar for named and positional > placeholders... Seems like if we get matrix ops (via other RFCs) > that we might want to curry them? That's why I think we ought to strict with array refs for multidimensional data. > Here I was thinking a placeholder was a whatzitz whatzitz; of > unknown cardinality. Is it, or not? Not. It's always a slot for a scalar. Damian
- Re: RFC 76 (v1) Builtin: reduc... Graham Barr
- Re: RFC 76 (v1) Builtin: reduc... John Porter
- Re: RFC 76 (v1) Builtin: reduce Graham Barr
- Re: RFC 76 (v1) Builtin: reduce Chaim Frenkel
- Re: RFC 76 (v1) Builtin: reduce Damian Conway
- Re: RFC 76 (v1) Builtin: reduce Damian Conway
- Re: RFC 76 (v1) Builtin: reduce Damian Conway
- Re: RFC 76 (v1) Builtin: reduce Jeremy Howard
- Re: RFC 76 (v1) Builtin: reduce Damian Conway
- Re: RFC 76 (v1) Builtin: reduce Glenn Linderman
- Re: RFC 76 (v1) Builtin: reduce Damian Conway
- Re: RFC 76 (v1) Builtin: reduce John Porter
- Re: RFC 76 (v1) Builtin: reduce Piers Cawley
- Re: RFC 76 (v1) Builtin: reduce Graham Barr
- Re: RFC 76 (v1) Builtin: reduce Damian Conway
- Re: RFC 76 (v1) Builtin: reduce Adam Krolnik
- Re: RFC 76 (v1) Builtin: reduce Jarkko Hietaniemi
- Re: RFC 76 (v1) Builtin: reduce Nathan Wiger
- Re: RFC 76 (v1) Builtin: reduce Piers Cawley
- Re: RFC 76 (v1) Builtin: reduce Nathan Torkington
- Re: RFC 76 (v1) Builtin: reduce Jeremy Howard