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 surveying the Monastery: (6)
As of 2014-07-10 07:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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








    Results (202 votes), past polls