Re: RFC 23 (v3) Higher order functions

2000-08-18 Thread Glenn Linderman
Nathan, thanks for zeroing in on this paragraph from RFC 23. It raises a question in my mind about the meaning of the RFC, and whether the paragraph is even necessary, which could answer your question about implementation. If a curried subroutine is truly generated because of seeing an

Re: RFC 23 (v3) Higher order functions

2000-08-18 Thread Damian Conway
The subroutines generated by a placeholder are not exactly like the equivalent subroutines shown above. If they are called with fewer than the required number of arguments, they return another higher order function, which now has the specified arguments bound as well.

Re: RFC 23 (v3) Higher order functions

2000-08-18 Thread Nathan Wiger
Damian Conway wrote: You're error is in assuming I have time *now*. With 30+ RFCs still to write, I've been seriously contemplating just abandoning the Perl 6 effort, because added to the demands of my full-time job, my O'Reilly and other tutorial commitments, my modules, and my poor

Re: RFC 23 (v3) Higher order functions

2000-08-18 Thread Jonathan Scott Duff
On Sat, Aug 19, 2000 at 06:35:55AM +1000, Damian Conway wrote: You're error is in assuming I have time *now*. With 30+ RFCs still to write, I've been seriously contemplating just abandoning the Perl 6 effort, because added to the demands of my full-time job, my O'Reilly and other tutorial

Re: RFC 23 (v3) Higher order functions

2000-08-18 Thread Peter Buckingham
Glenn Linderman wrote: Nathan, thanks for zeroing in on this paragraph from RFC 23. It raises a question in my mind about the meaning of the RFC, and whether the paragraph is even necessary, which could answer your question about implementation. If a curried subroutine is truly generated

Re: RFC 23 (v3) Higher order functions

2000-08-18 Thread Damian Conway
[Apologies for following-up my own post] I wrote: You're error is in assuming I have time *now*. With 30+ RFCs still to write, I've been seriously contemplating just abandoning the Perl 6 effort, because added to the demands of my full-time job, my O'Reilly and other

Re: RFC 23 (v3) Higher order functions

2000-08-18 Thread Steve Fink
Damian Conway wrote: It was simply attempting to explain why I choose to ignore what are (to me, at least) trivial implementation issues, well documented in the compiler literature. I choose to ignore them because I *have* to ignore them or my brain is going to melt. So perhaps you should

Re: RFC 23 (v3) Higher order functions

2000-08-18 Thread Nathan Torkington
Damian Conway writes: $add = ^a + ^b; # a thousand lines later... $incr = $add-(1); # a thousand lines later... $x = $incr-($x); I picture $add-(1) cloning add's optree, filling in the 1 where appropriate, then returning a reference to the new (cloned) optree.

Re: RFC 23 (v3) Higher order functions

2000-08-18 Thread Damian Conway
If there are any RFC's which you have in mind and could send me your notes on, I'd be *more* than happy to help out. This is actually an excellent idea, because then Damian can concentrate on coming up with the key ideas. However, rather than having to shuffle notes