Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Data.Set.fromDistinctAscListN

Open
#894 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
haskell
Domain
data

Research direction

Start by reading the linked containers issue 890 comment and the experiments at the referenced GitLab project to understand the proposed Data.Set.fromDistinctAscListN API and its timing data. Done would require a settled design and evidence that the construction strategy provides the intended benefit; this issue does not name implementation files or tests.

Written by the indexing model from the issue text.

Description

feature-request Set

just making a note that such a function (with N = length of second argument) could be useful, since an implementation can use N to determine the shape of the tree in advance, so there's no need to re-balance during construction.

see https://github.com/haskell/containers/issues/890#issuecomment-1380917641

I made some experiments here https://gitlab.imn.htwk-leipzig.de/waldmann/fdaln and the timing data looks very strange...

Dominant language
Haskell
Stars
355
Forks
194
Avg merge
2d 12h
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from haskell/containers

All issues in haskell/containers

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.