You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The flag package currently has Visit and VisitAll iterators, but unfortunately, the iterators don't return bool, so they aren't compatible with the range func experiment. I propose to add All() iter.Seq[*Flag], AllSet() iter.Seq[*Flag], and methods on FlagSet. The name "AllSet" isn't ideal, and I'm open to suggestions for better names.
The text was updated successfully, but these errors were encountered:
Proposal Details
The flag package currently has Visit and VisitAll iterators, but unfortunately, the iterators don't return bool, so they aren't compatible with the range func experiment. I propose to add
All() iter.Seq[*Flag]
,AllSet() iter.Seq[*Flag]
, and methods on FlagSet. The name "AllSet" isn't ideal, and I'm open to suggestions for better names.The text was updated successfully, but these errors were encountered: