Liking cljdoc? Tell your friends :D

co.multiply.pathling

Stack-safe path finding and updating for nested data structures.

Core functions:

  • path-when - find all values matching a predicate, with navigation structure
  • find-when - find values without navigation (more efficient for read-only)
  • transform-when - transform all matching values in place
  • update-paths - apply function to locations identified by navigation

Designed for large data structures (10,000+ matches) where traditional recursive approaches would overflow the stack.

Stack-safe path finding and updating for nested data structures.

Core functions:
- `path-when` - find all values matching a predicate, with navigation structure
- `find-when` - find values without navigation (more efficient for read-only)
- `transform-when` - transform all matching values in place
- `update-paths` - apply function to locations identified by navigation

Designed for large data structures (10,000+ matches) where traditional
recursive approaches would overflow the stack.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close