tcbrindle / flux

A C++20 library for sequence-orientated programming
https://tristanbrindle.com/flux/
Boost Software License 1.0
476 stars 29 forks source link

Add flatten_with adaptor #198

Closed tcbrindle closed 1 month ago

tcbrindle commented 1 month ago

This PR adds a flatten_with adaptor. This takes a sequence-of-sequences and a multipass pattern sequence, and produces the sequences interspersed with all of the elements from the pattern.

Fixes #124

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.30%. Comparing base (ec0377c) to head (da8cac1).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #198 +/- ## ========================================== + Coverage 98.22% 98.30% +0.07% ========================================== Files 69 70 +1 Lines 2360 2471 +111 ========================================== + Hits 2318 2429 +111 Misses 42 42 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.