Port of Python's itertools to Perl6
Perl Perl 6
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.



python::itertools - A direct port of Python's itertools to perl6.


It provides all the functionality that python's itertools does, including lazy evaluation. In the future, I'd like to maximize the performance of these functions. Function signatures may be a little different.

I needed a itertools.combinations_with_replacement and couldn't find an easy builtin or library to do it. So why not write the library myself? It turns out perl6 has most of these functions built in already. Unfortunatley, I did not realize that until after writing it. Oops.


Copyright (c) 2016 Armand Halbert. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms in LICENSE.


  • perl6 (Obviously)


For now, clone from this repository.


Armand Halbert armand.halbert@gmail.com