Re: namespace :as vs :require

2015-06-06 Thread Todd Stout
brary that > provides defsomething forms (because we're used to (def ..), (defn ..), > (defmacro ..) etc). > > On Fri, Jun 5, 2015 at 8:33 PM, Todd Stout > wrote: > >> What is considered idiomatic when using :as and :require in your >> namespace declarations? I u

namespace :as vs :require

2015-06-05 Thread Todd Stout
What is considered idiomatic when using :as and :require in your namespace declarations? I understand that :as will require everything in the namespace to use symbol/fn syntax. The :require usage will mandate more verbose symbol references in the ns declaration, but your code in that namespace

namespace scope

2015-06-04 Thread Todd Stout
What are the scope rules of a namespace? For example, can a single file define multiple namespaces? Can multiple files contribute to the same namespace? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@goo