Skip to content

Commit 4fe7e76

Browse files
r6evebbatsov
authored andcommitted
Disable replacements of -> and ->> (bbatsov#178)
1 parent a479450 commit 4fe7e76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Use *spaces* for indentation. No hard tabs.
9898
Use 2 spaces to indent the bodies of
9999
forms that have body parameters. This covers all `def` forms, special
100100
forms and macros that introduce local bindings (e.g. `loop`, `let`,
101-
`when-let`) and many macros like `when`, `cond`, `as->`, `cond->`, `case`,
101+
`when-let`) and many macros like `when`, `cond`, `+as->+`, `+cond->+`, `case`,
102102
`with-*`, etc.
103103

104104
[source,clojure]
@@ -941,7 +941,7 @@ Leverage `partial` when doing so yields simpler code.
941941

942942
=== Threading Macros [[threading-macros]]
943943

944-
Prefer the use of the threading macros `->` (thread-first) and `->>`
944+
Prefer the use of the threading macros `+->+` (thread-first) and `+->>+`
945945
(thread-last) to heavy form nesting.
946946

947947
[source,clojure]
@@ -1274,7 +1274,7 @@ should end with an exclamation mark (e.g. `reset!`).
12741274

12751275
=== Arrow Instead Of To [[arrow-instead-of-to]]
12761276

1277-
Use `->` instead of `to` in the names of conversion functions.
1277+
Use `+->+` instead of `to` in the names of conversion functions.
12781278

12791279
[source,clojure]
12801280
----
@@ -1477,7 +1477,7 @@ for more details.
14771477
(Bar. 1 2)
14781478
----
14791479

1480-
Note that `deftype` doesn't define the `map->Type`
1480+
Note that `deftype` doesn't define the `+map->Type+`
14811481
constructor. It's available only for records.
14821482

14831483
=== Custom Record Constructors [[custom-record-constructors]]

0 commit comments

Comments
 (0)