When to include apostrophe in clojure require?

What is the difference between:

(require '[some-package.sub as some])
(require 'example.core)

and

(require [some-package.sub as some])
(require example.core)

When should I use one over the other? Only the one with apostrophe works in an REPL environment.


Source: syntax

Leave a Reply