When to include apostrophe in clojure require?

What is the difference between:

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


(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

This site uses Akismet to reduce spam. Learn how your comment data is processed.