Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unrolled_enumerate and unrolled_applyat #5

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Conversation

dennisYatunin
Copy link
Member

This PR adds 2 new unrolled functions, along with relevant tests and documentation:

  • unrolled_enumerate, which is similar to enumerate (but also able to handle multiple iterators at the same time)
  • unrolled_applyat, which applies a function to the item at a particular index of an iterator (or to the items at that index in multiple iterators)

The second function should be a simpler alternative to TuplesOfNTuples.jl.

Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (5c18833) to head (72bfe93).

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #5   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           43        46    +3     
=========================================
+ Hits            43        46    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@charleskawczynski charleskawczynski merged commit edaf28f into main Apr 5, 2024
10 checks passed
@dennisYatunin dennisYatunin deleted the dy/applyat branch April 5, 2024 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants