Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
emphasize that Whatever-currying is syntactic
  • Loading branch information
moritz committed Aug 1, 2012
1 parent c73b3cb commit e1ffe9b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/Whatever.pod
Expand Up @@ -59,6 +59,12 @@ This allow all these constructs to work:
say @a[1..*]; # 2 3 4
say @a[1..*-2]; # 2 3
The currying is purely syntactic.
my $x = *;
$x + 2; # not a closure, dies because
# it can't coerce $x to Numeric
=head1 Methods
=head2 ACCEPTS
Expand Down

0 comments on commit e1ffe9b

Please sign in to comment.