Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Currying--useful examples?

by stvn (Monsignor)
on Jan 11, 2007 at 01:40 UTC ( [id://594042]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub foo $x $y { $x * $y }
    
  2. or download this
    sub foo $x { sub $y { $x * $y } }
    
  3. or download this
    foo(3, 5)
    
  4. or download this
    foo(3)(5)
    
  5. or download this
    val foo :: int -> int -> int
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-19 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found