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/.
bug-acme-lambda-expr@rt.cpan.org/
http://www.boost.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.
To install Acme::Lambda::Expr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Acme::Lambda::Expr
CPAN shell
perl -MCPAN -e shell install Acme::Lambda::Expr
For more information on module installation, please visit the detailed CPAN module installation guide.