1

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?

1 Answer 1

5

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]))
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.