1
0
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:
Calvin Rose 2018-05-16 23:09:28 -04:00
parent 51bdc41014
commit ed9037e603

View File

@ -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]