Skip to content

Instantly share code, notes, and snippets.

View nasser's full-sized avatar
🛰️
save-lisp-and-die

Ramsey Nasser nasser

🛰️
save-lisp-and-die
View GitHub Profile
@nasser
nasser / 0_reuse_code.js
Created April 3, 2016 15:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
(def v (volatile! nil))
;; a function that I don't think will get disappeared by the compiler:
(defn bla [x]
(vreset! v x))
(def stuff (vec (range 5e5)))
(defmacro do-reduce [[x coll] & body]
`(do