Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: Specializing Functions with Currying

by Aristotle (Chancellor)
on Aug 06, 2004 at 22:55 UTC ( #380764=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Specializing Functions with Currying
in thread Specializing Functions with Currying

Of course, that's just asking for it.

my $biup = compose map curry( \&wrap_with_html, $_ ), qw( p u i b );

Now that actually looks like a construct you're likely to see in some flavour of functional programming language.

Makeshifts last the longest.


Comment on Re^5: Specializing Functions with Currying
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-07-06 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls