Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
t
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status

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 fernandocorrea@gmail.com

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.

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%