MergeOrderedSeqs

Merge multiple ordered Seqs into a single ordered one.

NAME

MergeOrderedSeqs - Merge multiple ordered Seqs into a single ordered one.

SYNOPSIS

use MergeOrderedSeqs;

my @ordered = merge-ordered-seqs                      [1, 3, 5], [2, 4, 6];
my @ord2    = merge-ordered-seqs :before(More),       [6, 4, 2], [5, 3, 1];
my @ord3    = merge-ordered-seqs :before{(-2) ** $_}, [5, 3, 1], [2, 4, 6];
my @ord4    = merge-ordered-seqs :before{$^a < $^b},  [1, 3, 5], [2, 4, 6];

DESCRIPTION

merge_ordered_seqs() is a function that receives multiple iterables that should be ordered and returns a single Seq also ordered.

AUTHOR

Fernando CorrĂȘa [email protected]

COPYRIGHT AND LICENSE

Copyright 2023 Fernando CorrĂȘa de Oliveira

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

MergeOrderedSeqs v0.0.1

Merge multiple ordered Seqs into a single ordered one.

Authors

  • Fernando CorrĂȘa

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • MergeOrderedSeqs

Documentation

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