CatQueue `traverse` implementation

Open
#51 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
backend

Research direction

Start with src/Data/CatQueue.purs at the linked traverse implementation, then inspect nearby tests for CatQueue traversal behavior. Determine whether each element is visited twice as the issue reports; done means confirming the intended behavior and, if it is a bug, adding a regression test and fixing it.

Written by the indexing model from the issue text.

Description

The traverse implementation of CatQueue iterates through every element twice.

Is this intended?

https://github.com/purescript/purescript-catenable-lists/blob/09abe1f4888bc00841ad2b59e56a9e7ce7ebd4ab/src/Data/CatQueue.purs#L166-L168

Dominant language
PureScript
Stars
22
Forks
11
Avg merge
2d 23h
Merged PRs (30d)
1

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

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 purescript/purescript-catenable-lists

All issues in purescript/purescript-catenable-lists

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.