We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 239ba3a commit d9497cfCopy full SHA for d9497cf
README.adoc
@@ -1907,6 +1907,7 @@ was deprecated in case of versioned software (e.g. a library) or simply
1907
1908
[source,clojure]
1909
----
1910
+;; in case we have a version
1911
(def ^{:deprecated "0.5"} foo
1912
"Use `bar` instead.
1913
42)
@@ -1917,6 +1918,10 @@ was deprecated in case of versioned software (e.g. a library) or simply
1917
1918
1919
(defn ^{:deprecated "0.5"} foo
1920
(bar))
1921
+
1922
+;; otherwise
1923
+(defn ^:deprecated foo
1924
+ (bar))
1925
1926
1927
TIP: If you're into SemVer, it's a good idea to omit the patch version.
0 commit comments