Reputation: 1594
For an embedded DSL I'd like to remove all the core functions and require the ones I need one by one. Is it possible and how?
Upvotes: 1
Views: 108
Reputation: 16194
You can use the :refer-clojure
directive in your ns
declaration to specify only the core functions you need:
(ns my-namespace
(:refer-clojure :only [defn]))
Upvotes: 5