Skip to content

Conversation

riesentoaster
Copy link
Contributor

Description

With handles, it was previously possible to retrieve a single element from a tuple_list. This PR introduces functions to retrieve tuples of elements based on tuples of handles.

Checklist

  • I have run ./scripts/precommit.sh and addressed all comments

@riesentoaster riesentoaster changed the title Introduce get_all and get_all_mut on tuples using handles Introduce get_all and get_all_mut on tuple_list using handles Sep 12, 2025
@riesentoaster
Copy link
Contributor Author

I don't think that CI error has anything to do with this PR, right?

Copy link
Collaborator

@addisoncrump addisoncrump left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly good, left some comments on design things and some nits.

@addisoncrump
Copy link
Collaborator

I asked in the Rust discord and the consensus was: there is no ergonomic way to write this in Rust for now. We can look at frunk for inspiration, but reasoning about these tuple lists generically might just always suck for now.

@addisoncrump addisoncrump enabled auto-merge (squash) September 17, 2025 12:12
@addisoncrump addisoncrump merged commit 2d5b9d6 into AFLplusplus:main Sep 17, 2025
16 of 85 checks passed
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