mirror of
https://github.com/janet-lang/janet
synced 2024-11-18 06:34:48 +00:00
Remove defdo and defdo-
This commit is contained in:
parent
51bdc41014
commit
ed9037e603
@ -41,20 +41,6 @@
|
||||
(apply1 tuple (array.concat
|
||||
@['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-
|
||||
"Define a private function that will not be exported."
|
||||
[name & more]
|
||||
|
Loading…
Reference in New Issue
Block a user