Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2016-12-03 18:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (56 votes). Check out past polls.