Created
August 30, 2010 03:34
functional programming blog, week 3 example 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub curry | |
{ | |
my $function = shift; | |
my @params = @_; | |
return sub { $function->(@params, @_) }; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment