Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Specializing Functions with Currying

by kabel (Chaplain)
on Aug 06, 2004 at 05:48 UTC ( [id://380452]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub curry2 {
        my ($fn, $argstack) = @_;
    
    ...
            }
        };
    }
    
  2. or download this
    my $myprint = sub { print @_; };
    my $curry = curry2 ($myprint);
    $curry->("a")->("b")->("c")->();
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://380452]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-19 09:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found