Re: Closures and default lexical-scope for subs

2001-02-19 Thread Piers Cawley
Peter Scott [EMAIL PROTECTED] writes: At 09:01 PM 2/15/01 +0100, [EMAIL PROTECTED] wrote: On Thu, Feb 15, 2001 at 11:08:47AM -0800, Edward Peschko wrote: However, that still doesn't get rid of the gotchas - personally I think that: my $a, $b, $c; should be an error, a warning,

Re: End-of-scope actions: Toward a hybrid approach.

2001-02-19 Thread Simon Cozens
Incidentally, I just implemented pre- and post- handlers on subroutines in pure Perl 5, without any changes to the language. Interesting, huh? sub foo { print "Bar\n"; } append_to_sub {print "After!\n"} foo; # Perl 5.6.x (\) syntax append_to_sub {print "After!\n"}, \foo; # Perl 5.6 syntax

The Unlambda Programming Language

2001-02-19 Thread David L. Nicol
"currying" used in a fascinating context: an experimental language in which http://www.eleves.ens.fr:8080/home/madore/programs/unlambda/#tut everything is a unary function. Multiple-argument functions are defined in such a way that the function takes the first argument and returns a

Re: The Unlambda Programming Language

2001-02-19 Thread schwern
On Mon, Feb 19, 2001 at 01:17:56PM -0600, David L. Nicol wrote: "currying" used in a fascinating context: an experimental language in which http://www.eleves.ens.fr:8080/home/madore/programs/unlambda/#tut Oh, nooooOOO!! Those with small children, heart conditions or a weak stomach,

Appropriate perl6-language behaviour

2001-02-19 Thread Kirrily Robert
[ Cc: perl6-language, [EMAIL PROTECTED] ] Yaphet, As you may be aware, I've been a bit absent from p6-language lately, as I've been moving to Canada and rather busy. So I apologise for not having brought this up earlier, which I really should have done as Perl 6 Language working group chair

Re: End-of-scope actions: Toward a hybrid approach.

2001-02-19 Thread Simon Cozens
On Mon, Feb 19, 2001 at 06:46:11PM +, Simon Cozens wrote: This actually came as a side-track to something else I was doing which was to make some subroutines appear like builtins; (available from all packages) I'll put Sub::Versive on CPAN when I've done *that*. It's up. Enjoy. -- Use

Re: End-of-scope actions: Toward a hybrid approach.

2001-02-19 Thread John Porter
Simon Cozens wrote: Incidentally, I just implemented pre- and post- handlers on subroutines in pure Perl 5, without any changes to the language. Interesting, huh? Yes. And the modules on CPAN that already do this are interesting too. -- John Porter

Re: End-of-scope actions: Toward a hybrid approach.

2001-02-19 Thread Simon Cozens
On Mon, Feb 19, 2001 at 09:00:11PM -0500, John Porter wrote: Simon Cozens wrote: Incidentally, I just implemented pre- and post- handlers on subroutines in pure Perl 5, without any changes to the language. Interesting, huh? Yes. And the modules on CPAN that already do this are

RFC 362 - revisiting the RFC process (was Warnings, strict, and CPAN)

2001-02-19 Thread Edward Peschko
much deleted As much as I'd like to respond to some of these points, I'll refrain from it now, I'll let my RFCs speak for themselves. Speaking of which... apologies in advance for cross-posting this, but I wanted to get the largest audience possible... I won't do it again. At least not in the

Re: End-of-scope actions: Background.

2001-02-19 Thread Simon Cozens
On Mon, Feb 12, 2001 at 01:58:35PM -0700, Tony Olekshy wrote: Hi, it's me again, the guy who won't shut up about exception handling. I'm trying, I'm catching. -- "Dogs believe they are human. Cats believe they are God."

Re: RFC 362 - revisiting the RFC process (was Warnings, strict, and CPAN)

2001-02-19 Thread Dan Sugalski
At 07:20 PM 2/19/2001 -0800, Edward Peschko wrote: RFC 362 --- =head1 TITLE The RFC project should be ongoing and more adaptive. It's my understanding that this is, in fact, the plan. The only reason things have paused (and it is a pause, not a stop) is that we're waiting for Larry to