Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite1cb616

Browse files
author
David Orme
committed
Restructured README
1 parentcae5a8f commite1cb616

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

‎README.md‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
Clojure-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-
(| (range50) inc #(/ %2) +)
20-
```
21-
2220
* Duck-typed Grep for deeply recursively nested data structures.
2321

2422
The 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+
(| (range50) inc #(/ %2) +)
35+
```
36+
3337
* Inject behavior before/after/around all forms in a do-style block or thread-last
3438
macro form (experimental).
3539

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp