Skip to content

Instantly share code, notes, and snippets.

(ns fn-pre-post
(:refer-clojure :exclude (defn fn defn-)))
(clojure.core/defn- insert-arg
"Insert arg in the second position of the form cond."
[arg cond]
(cons (first cond) (cons arg (rest cond))))
(clojure.core/defn- parse-params
"Parse a parameter vector, possibly containing nested vectors for