Skip to content

Commit 4f2e195

Browse files
committed
chore(doc): add deprecated attributes in the docs
1 parent dd90a4f commit 4f2e195

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dict.ark

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
(let contains? (fun (_D _key) (builtin__dict:contains _D _key)))
3535

3636
# @brief Checks if the dictionary has a given key
37-
# @details **Deprecated, use `contains?`**
37+
# @deprecated Use `dict:contains?`
3838
# @param _D dictionary
3939
# =begin
4040
# (let data (dict "key" "value"))

Math.ark

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
(let even? (fun (_n) (= 0 (mod _n 2))))
173173

174174
# @brief Return true if the number is even, false otherwise
175-
# @details **Deprecated, use `even?`**
175+
# @deprecated Use `math:even?`
176176
# @param _n the number
177177
# @author https://github.com/rstefanic
178178
(let even even?)
@@ -183,7 +183,7 @@
183183
(let odd? (fun (_n) (= 1 (abs (mod _n 2)))))
184184

185185
# @brief Return true if the number is odd, false otherwise
186-
# @details **Deprecated, use `odd?`**
186+
# @deprecated Use `math:odd?`
187187
# @param _n the number
188188
# @author https://github.com/rstefanic
189189
(let odd odd?)
@@ -217,7 +217,7 @@
217217
(let decrement (fun (_x) (- _x 1)))
218218

219219
# @brief Multiply a number by -1, turning positive numbers negative and negative numbers positive
220-
# #param _x number
220+
# @param _x number
221221
# @author https://github.com/SuperFola
222222
(let negate (fun (_x) (* -1 _x)))
223223

0 commit comments

Comments
 (0)