Acme::Lambda::Expr - Lambda expressions


Acme-Lambda-Expr documentation  | view source Contained in the Acme-Lambda-Expr distribution.

Index


NAME

Top

Acme::Lambda::Expr - Lambda expressions

VERSION

Top

This document describes Acme::Lambda::Expr version 0.01

SYNOPSIS

Top

	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

DESCRIPTION

Top

This module provides lambda expressions.

DEPENDENCIES

Top

Perl 5.8.1 or later.

BUGS AND LIMITATIONS

Top

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/.

SEE ALSO

Top

http://www.boost.org/.

AUTHOR

Top

Goro Fuji <gfuji(at)cpan.org>

LICENSE AND COPYRIGHT

Top


Acme-Lambda-Expr documentation  | view source Contained in the Acme-Lambda-Expr distribution.