README

NAME

SeqSplitter - Creates .pull-while, .pull-until, .pull, .skip-while, .skip-until and .skip on Seq and Any.

SYNOPSIS

use SeqSplitter;
say ^10
   .pull-while(* < 2)
   .skip-while(* < 5)
   .pull-until(7)
   .skip-until(8)
   .pull
   .skip(3)
;

Will print:

(0 1 5 6 8)

DESCRIPTION

SeqSplitter is a "better solution" for .toggle it was being discussed here https://github.com/rakudo/rakudo/issues/2089

AUTHOR

Fernando Correa de Oliveira [email protected]

COPYRIGHT AND LICENSE

Copyright 2018 Fernando Correa de Oliveira

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.

SeqSplitter v0.0.1

Creates `.pull-while`, `.pull-until`, `.pull`, `.skip-while`, `.skip-until` and `.skip` on `Seq` and `Any`.

Authors

  • Fernando Correa de Oliveira

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • SeqSplitter

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.