Keep in mind that you should almost never do this. It's much better to
require :as or explicitly refer which things you want from each namespace.
When you do :refer :all, you pollute your namespace with tons of vars and
when you use them, nobody has any clue where they're coming from so they
2013/8/2 Anthony Grimes disciplera...@gmail.com:
Keep in mind that you should almost never do this. It's much better to
require :as or explicitly refer which things you want from each namespace.
When you do :refer :all, you pollute your namespace with tons of vars and
when you use them, nobody
On Aug 2, 2013, at 9:16 AM, Laurent PETIT wrote:
2013/8/2 Anthony Grimes disciplera...@gmail.com:
Keep in mind that you should almost never do this. It's much better to
require :as or explicitly refer which things you want from each namespace.
When you do :refer :all, you pollute your
On Fri 2 Aug 2013 at 04:32:32PM -0400, Lee Spector wrote:
I can believe that these assertions are true in some (maybe many)
programming contexts, but from other perspectives anything that
requires you to type stuff that's not directly about the problem
you're trying to solve or the idea
Hi group.
Assumed that I want to refer 'baz, 'qux and etc and don't want to refer
'quux of 'bar namespace within my 'foo namespace.
With 'ns' macro, I can require a namespace and refer all public symbols in
it.
(ns foo (:require [bar :refer :all]))
I can refer only some specific symbols.
I think the way to do it is:
(ns foo
(:require [bar :refer :all :exclude (quux)]))
On 1 August 2013 18:19, Yoshinori Kohyama yykohy...@gmail.com wrote:
Hi group.
Assumed that I want to refer 'baz, 'qux and etc and don't want to refer
'quux of 'bar namespace within my 'foo namespace.
Carlo,
Works fine. Thank you!
Y. Kohyama
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To