practicalli / practicalli/clojure

data.priority-map

Open
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

libraries
Dominant language
Makefile
Stars
117
Forks
36
PR merge metrics
No merged PRs in 30d

Description

like a normal map you insert key/value pairs into it, but unlike a normal map when you call seq on it, it is guaranteed to return the key/value pairs in order by the value, which is the "priority" that you pick.
https://github.com/clojure/data.priority-map

Possible use cases
keep a ranking of users

  • could help to avoid using sort-by or reduce-kv each time

Contributor guide

Open the 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.

Research direction

The issue names no repository files, tests, or entry points. Start by reviewing the repository structure and the linked clojure/data.priority-map project, then determine how a priority-map feature would fit this project. Done would mean the requested key/value ordering by priority is implemented and verified according to the project's conventions.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.