Skip to content

Conversation

@noinia
Copy link
Contributor

@noinia noinia commented Jan 17, 2026

As has been observed in #357, there are various functions from Data.Set.Internal that are needed/useful to work with the internals of Set's that are not actually exported. This PR adds the missing functions suggested by @meooow25 ; i.e. , balanceL, balanceR, glue, insertMin, and insertMax.

I ran the set benchmarks, and didn't see any noticable difference after exporting these additional helper functions.

Copy link
Contributor

@meooow25 meooow25 left a comment

Choose a reason for hiding this comment

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

Thanks!

@meooow25
Copy link
Contributor

I'm unsure if adding @since makes sense, as these functions aren't new, but I think it does if we treat it as "exposed since VERSION".

@meooow25 meooow25 merged commit 2582800 into haskell:master Jan 25, 2026
15 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