Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(defn ; Macro to create a function, taking:
repeat-n ; - Name of the function
[n s] ; - Bindings (the arguments)
(apply str (repeat n s)) ; - Body (the implementation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment