lambdaisland / lambdaisland/deep-diff2
Extract cljs port of puget
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 326
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
As part of porting deep-diff to clojurescript, we ported Puget to ClojureScript. Sadly this version is not compatible with upstream puget, since we can't do type dispatching in the same way. This also means that people need to explicitly add print handlers for custom types (although apparently there's an option to fall back to the regular printer, we should enable that).
Having puget available in ClojureScript for rendering of cljs data structures is very useful, and we should pull that out into its own lib/artifact.
Contributor guide
No contributing guide indexed for this repository
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
Start by locating the existing ClojureScript Puget port within the deep-diff codebase and compare its type-dispatch and printer fallback behavior with upstream Puget. Extract the compatible functionality into its own library or artifact, enable the regular-printer fallback, and verify that it renders ClojureScript data structures without requiring custom handlers for every type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100