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 ( #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
Node Status?
node history
Node Type: note [id://380452]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2014-07-11 04:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (218 votes), past polls