Maybe the reader does _not_ eagerly resolve "c/foo" when the top-level
enclosing form is a "do", but it _does_ eagerly resolve "c/foo" when
the top-level enclosing form is a function?
On Jan 3, 10:02 am, Mike Hogye wrote:
> Now that you understand it, c
Now that you understand it, can you explain it me? :)
This simplified version of your snippet still throws the "No such
namespace: c" exception:
(ns coretest)
(defn foo [x] x)
(= 1
(do
(alias 'c 'coretest)
(c/foo true)))
But the following completes without any exceptions:
Wait, I'm an idiot. Ignore my last message ...
On Jan 3, 9:39 am, Mike Hogye wrote:
> Roger,
>
> What Clojure version are you using? When I run your snippet with HEAD,
> I get:
>
> FAIL in clojure.lang.persistentlist$emptyl...@1 (blah2.clj:11)
> test alias function
&
Roger,
What Clojure version are you using? When I run your snippet with HEAD,
I get:
FAIL in clojure.lang.persistentlist$emptyl...@1 (blah2.clj:11)
test alias function
expected: (= 1 (do (alias (quote c) (quote coretest
actual: (not (= 1 nil))
Which is presumably what you want to see.
On
Here's what I was thinking of:
http://groups.google.com/group/clojure/browse_thread/thread/c093ac2c7e7302ab
I believe it's the same phenomenon.
On Jan 2, 8:03 pm, Mike Hogye wrote:
> I can't seem to find the explanation I once saw for this. It's
> something like: &q
I can't seem to find the explanation I once saw for this. It's
something like: "c/foo" is resolved when the "do" form is _read_ ...
at which point the alias hasn't happened yet.
On Jan 2, 3:14 pm, Roger Gilliar wrote:
> Hi !
>
> Given the code below, I'm wondering why I get
>
> No such namespace:
Reston is a great location for me and my coworkers, too.
On Dec 17, 9:50 am, Mike Hogye wrote:
> I'm interested, but may have a hard time making it consistently. I do
> have a coworker or two who might have both interest and availability.
>
> On Dec 16, 1:14 pm, Matt wro
I'm interested, but may have a hard time making it consistently. I do
have a coworker or two who might have both interest and availability.
On Dec 16, 1:14 pm, Matt wrote:
> I'm looking into setting up a Northern Virginia Clojure User Group and
> would like to know who is interested. I know there
I would really like to go to the Pragmatic Studio's 3-day Clojure
course (https://pragmaticstudio.com/clojure). Taught by Stuart
Halloway, and Rich himself, no less!
... But $1500 sounds like a lot. Can anybody help me convince myself
that it's worth that much?
--
You received this message becau
for people who want to build it themselves.
>
> On Dec 15, 8:50 am, Mike Hogye wrote:
>
> > +1 for the idea of offering a _thing_ for sale.
>
> > The company I work for isn't going to give a donation; that's just not
> > something it does. But if there
+1 for the idea of offering a _thing_ for sale.
The company I work for isn't going to give a donation; that's just not
something it does. But if there were a _thing_ I could purchase on the
company's dime, well ... it's much more standard for a company to make
a purchase than a donation. Particula
Thanks!
--
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 unsubscribe from this group, send email
Why is there an easy way to def a private function (defn-), but no
similarly easy way to def an arbitrary var as private?
--
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 fro
Using with-command-line from clojure.contrib.command-line, if the list
of command-line args is empty or nil, the usage message is printed
(and the nested code is not run), even if all the options have default
values.
The following (note that the first arg is the empty list) prints the
usage messag
14 matches
Mail list logo