| Acme-Lambda-Expr documentation | view source | Contained in the Acme-Lambda-Expr distribution. |
Acme::Lambda::Expr - Lambda expressions
This document describes Acme::Lambda::Expr version 0.01
use strict; use feature 'say'; use Acme::Lambda::Expr qw(:all); my $f = $x * 2 + $y; say $f->(20, 2); # 20*2 + 2 = 42 my $g = curry $f, $x, 4; say $g->(19); # 18*2 + 4 = 42 my $h = curry deparse => $x; say $h->($f); # $f->deparse() say $h->($g); # $g->deparse() say $g->compile->(19); # => 42
This module provides lambda expressions.
Perl 5.8.1 or later.
No bugs have been reported.
Please report any bugs or feature requests to
bug-acme-lambda-expr@rt.cpan.org/, or through the web interface at
http://rt.cpan.org/.
Goro Fuji <gfuji(at)cpan.org>
Copyright (c) 2008, Goro Fuji <gfuji(at)cpan.org>. Some rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Acme-Lambda-Expr documentation | view source | Contained in the Acme-Lambda-Expr distribution. |