mirror of
https://github.com/janet-lang/janet
synced 2025-07-27 14:22:57 +00:00
Remove defdo and defdo-
This commit is contained in:
parent
51bdc41014
commit
ed9037e603
@ -41,20 +41,6 @@
|
|||||||
(apply1 tuple (array.concat
|
(apply1 tuple (array.concat
|
||||||
@['defmacro name :private] more)))
|
@['defmacro name :private] more)))
|
||||||
|
|
||||||
(defmacro defdo
|
|
||||||
"Define a value inside of a do form."
|
|
||||||
[name & more]
|
|
||||||
(apply1 tuple (array.concat
|
|
||||||
@['def name]
|
|
||||||
(apply1 tuple (array.concat @['do] more)))))
|
|
||||||
|
|
||||||
(defmacro defdo-
|
|
||||||
"Define a private value inside of a do form."
|
|
||||||
[name & more]
|
|
||||||
(apply1 tuple (array.concat
|
|
||||||
@['def name :private]
|
|
||||||
(apply1 tuple (array.concat @['do] more)))))
|
|
||||||
|
|
||||||
(defmacro defn-
|
(defmacro defn-
|
||||||
"Define a private function that will not be exported."
|
"Define a private function that will not be exported."
|
||||||
[name & more]
|
[name & more]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user