22
33Clojure-navigation contains utilities for navigating data and/or code. For example:
44
5- * Mount a data structure and navigate it with filesystem-like commands.
5+ * Mount a data structure and navigate it with filesystem-like commands. Each appropriate command
6+ lists the first 20 rows of the current data structure. Data structure listings are automatically
7+ paged so you're less likely to blow up your REPL by inadvertently listing a huge data structure.
8+ At the same time, the current object pointed-to by the (pwd) is always available so you can
9+ map, mapcat, reduce, and grep the actual objects to your heart's content.
610
711``` clojure
812 (mount data-structure)
@@ -13,12 +17,6 @@ Clojure-navigation contains utilities for navigating data and/or code. For exam
1317 (current :sub1 :sub2 ...); return the object referenced by :sub1 and :sub2 from (current)
1418```
1519
16- * A pipe operator that can map, mapcat, and reduce a collection in Unix-style.
17-
18- ``` clojure
19- (| (range 50 ) inc #(/ %2 ) +)
20- ```
21-
2220* Duck-typed Grep for deeply recursively nested data structures.
2321
2422The matcher can be any type. If it is a regular expression Pattern, it is matched against
@@ -30,6 +28,12 @@ All other objects match using (= matcher obj).
3028 [[:diffed {}] [:diffed {}]]
3129```
3230
31+ * A pipe operator that can map, mapcat, and reduce a collection in Unix-style.
32+
33+ ``` clojure
34+ (| (range 50 ) inc #(/ %2 ) +)
35+ ```
36+
3337* Inject behavior before/after/around all forms in a do-style block or thread-last
3438macro form (experimental).
3539