Skip to content

Conversation

@freeformz
Copy link
Owner

  • Additional helpers:
    • Map - maps the items in the set and returns them as a new set
    • MapTo - maps the items in the set into a provided set
    • MapToSlice - maps the items in the set and returns them as a slice
    • Filter - filters the items in the set based on the function and returns a new set
    • Reduce - reduces the items in the set to a single value
    • ReduceRight - reduces the items in the ordered set, in backwards order, to a single value
    • ForEach - calls the provided function with each member of the set
    • ForEachRight - calls the provided function for each item in the ordered set, in backwards order.
  • Cleaned up some Examples so they now use New{Ordered,}With instead of New{Ordered,} and multiple Adds

#minor

* Additional helpers:
  * Map - maps the items in the set and returns them as a new set
  * MapTo - maps the items in the set into a provided set
  * MapToSlice - maps the items in the set and returns them as a slice
  * Filter - filters the items in the set based on the function and returns a new set
  * Reduce - reduces the items in the set to a single value
  * ReduceRight - reduces the items in the ordered set, in backwards order, to a single value
  * ForEach - calls the provided function with each member of the set
  * ForEachRight - calls the provided function for each item in the ordered set, in backwards order.
* Cleaned up some Examples so they now use New{Ordered,}With instead of New{Ordered,} and multiple Adds

#minor
@freeformz freeformz enabled auto-merge (squash) March 21, 2025 03:51
@freeformz freeformz merged commit cfd9b06 into main Mar 21, 2025
9 checks passed
@freeformz freeformz deleted the ffz/MoreHelpers branch March 21, 2025 03:53
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