Created
April 1, 2023 11:36
-
-
Save borkdude/23cca06d3c0d62973fd023de0a87ab9e to your computer and use it in GitHub Desktop.
<-
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmacro <- | |
[& טופסים] | |
(let [[x & טופסים] (reverse טופסים)] | |
(loop [x x, טופסים טופסים] | |
(if טופסים | |
(let [טופס (first טופסים) | |
מתארגן (if (seq? טופס) | |
(with-meta `(~(first טופס) ~x ~@(next טופס)) (meta טופס)) | |
(list טופס x))] | |
(recur מתארגן (next טופסים))) | |
x)))) | |
(prn (<- inc inc 1)) | |
;; 3 <= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment