GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LIST::GEN::LAZY::OPS (3)

.ds Aq ’

NAME

List::Gen::Lazy::Ops - perl ops with partial + lazy application

CONTENTS

SYNOPSIS

this module implements some of the perl operators with fn() from List::Gen::Lazy

the implemented infix operators are:



        + - / * % . & | ^ < >



the implemented prefix operators are:



        ! ~



each is a subroutine and must be prefixed by & :



    my $plus_1 = &+(1);

    say 5->$plus_1;  # 6



this module mainly exists to ease writing expressions like:



    use List::Gen::Haskell;

    my $sum = foldl \&+;

    $_ = L 0, 1, zipWith \&+, $_, tail $_ for my $fibs;



AUTHOR

Eric Strom, <asg at cpan.org>

BUGS

report any bugs / feature requests to bug-list-gen at rt.cpan.org, or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=List-Gen>.

comments / feedback / patches are also welcome.

COPYRIGHT & LICENSE

copyright 2009-2011 Eric Strom.

this program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

see http://dev.perl.org/licenses/ for more information.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 LIST::GEN::LAZY::OPS (3) 2011-09-29

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.