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

Commit bc79cb7

Browse files
jameschensmithbbatsov
authored andcommitted
Use list continuations to fix ordered list numbers
1 parent 36ae6b8 commit bc79cb7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎README.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -860,27 +860,27 @@ But what to do about all the other namespaces out there that don't have idiomati
860860
otherwise the people working on a shared Clojure codebase are going to experience a great deal of confusion. Here are a few rules that you should follow.footnote:[These guidelines are based on a https://stuartsierra.com/2015/05/10/clojure-namespace-aliases[blog post] by Stuart Sierra.]
861861

862862
1. Make the alias the same as the namespace name with the leading parts removed.
863-
863+
+
864864
[source,clojure]
865865
----
866866
(ns com.example.application
867867
(:require
868868
[clojure.java.io :as io]
869869
[clojure.reflect :as reflect]))
870870
----
871-
871+
+
872872
2. Keep enough trailing parts to make each alias unique.
873-
873+
+
874874
[source,clojure]
875875
----
876876
[clojure.data.xml :as data.xml]
877877
[clojure.xml :as xml]
878878
----
879-
879+
+
880880
TIP: Yes, namespace aliases can have dots in them. Make good use of them.
881-
881+
+
882882
3. Eliminate redundant words such as "core" and "clj" in aliases.
883-
883+
+
884884
[source,clojure]
885885
----
886886
[clj-time.core :as time]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /