towards enlightenment
‘It is a capital mistake to theorize before one has data. Insensibly one begins to twist facts to suit theories, instead of theories to suit facts.’
(ns miracle.tools.save | |
(:require [clojure.walk :refer [postwalk]])) | |
;; usage | |
;; | |
;; (save) or (save :whatever) somewhere in a function to save all the local | |
;; bindings at that point in time. | |
;; | |
;; (save-func ...) where ... is the body of your functions (e.g. (defn hej [a] | |
;; (save-func (let [b 5] (+ a b))))) |