practicalli / practicalli/clojure
Clojure Abstraction Levels
Open
Nobody has claimed this yet.
design
- Dominant language
- Makefile
- Stars
- 117
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
If you have loop/recur consider looking at the whole sequence api
- If you want to apply a transformation to each element reach for
map/mapv - If you’re looking to remove items, look at things like
distinct,set,filter,remove,keep… - If you want to apply a side effect for each element reach for
run!/doseq/doall… - If you want to produce a single compound value from many look for specialised functions first, then at
reduce - If you want to produce a sequence of values that depend on the previous value look at
iterate… - If you need to manipulate something stateful into being a sequence-like thing look at
lazy-seqor a transducers.
There are many many more — for example: using transducers
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named in the issue. Start by locating the repository’s existing Clojure sequence API documentation, then determine where this abstraction-level guidance belongs and confirm the intended scope with maintainers. Done should be an agreed documentation change covering the relevant guidance without expanding beyond the chosen scope.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100