I upgraded lein from 1.3.1 to 1.4.2, which fixed the problem.
:)
On Jan 10, 6:47 am, Stefan Kamphausen wrote:
> Hi,
>
> I can't verify that a REPL created by lein behaves differently. Did you
> perhaps update an old project.el without running lein deps?
>
> In addition to that: your defproject h
Hi,
I can't verify that a REPL created by lein behaves differently. Did you
perhaps update an old project.el without running lein deps?
In addition to that: your defproject has too many ]'s
Regards,
Stefan
--
You received this message because you are subscribed to the Google
Groups "Clojur
Hi,
On 10 Jan., 14:36, Tim Robinson wrote:
> Interesting.
Suspicious, I'd say.
> My downloaded version of clojure 1.2.0 acts exactly as you describe.
>
> However my basic lein project with only
>
> (defproject prj "1.0.0-SNAPSHOT"
> :dependencies [[org.clojure/clojure "1.2.0"]]])
>
> act
Interesting.
My downloaded version of clojure 1.2.0 acts exactly as you describe.
However my basic lein project with only
(defproject prj "1.0.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.2.0"]]])
acts differently.
Well as I said, I can never sure about anything :)
Cheers
Tim
On J
Hi Meikel,
On 10 Jan., 01:09, Meikel Brandmeyer wrote:
> Because 'o expands to (quote o) and you actually hint this list. You might
> try (meta ' ^:k o).
Very interesting, this works! I did not know that syntax and none of
my books or the reader section of clojure.org mentioned it.
Thanks a lo
Hi,
On 10 Jan., 04:17, Tim Robinson wrote:
> How does this happen when :tag is not even in the expression?
> If you launch a brand new repl and run it what happens?
What I posted in the previous email is exactly a fresh repl session
and what happens there with 1.2. And in fact, that it is what
user=> (meta '^:k o)
{:tag :k}
How does this happen when :tag is not even in the expression?
If you launch a brand new repl and run it what happens?
On Jan 9, 5:17 pm, Meikel Brandmeyer wrote:
> Hi,
>
> Am 10.01.2011 um 01:10 schrieb Tim Robinson:
>
> > You must have something messed up:
>
> > I
Am I sure?.. No, I'm never sure :)
But I am using 1.2 and when I run (meta ^:k []) or even (meta '^:k o)
I get nil.
Plus:
app=> (doc meta)
-
clojure.core/meta
([obj])
Returns the metadata of obj, returns nil if there is no metadata.
nil
I could be missing something?
Hi,
Am 10.01.2011 um 01:10 schrieb Tim Robinson:
> You must have something messed up:
>
> In line 1 (meta ^:k []) does not return {:tag :k} it returns nil and
> I am using Clojure 1.2.
>
> Both lines 1 and 2, shouldn't return meta, because 'meta' only takes
> an object as an input argument.
>
You must have something messed up:
In line 1 (meta ^:k []) does not return {:tag :k} it returns nil and
I am using Clojure 1.2.
Both lines 1 and 2, shouldn't return meta, because 'meta' only takes
an object as an input argument.
And only if the object already has metadata will metadata will retu
Hi,
Am 09.01.2011 um 22:52 schrieb mdzaebel:
> (meta ^:k []) --> {:tag :k}
> (meta ^:k 'o) --> nil
> (meta(with-meta 'o {:tag :k})) --> {:tag :v}
>
> Why doesn't the second line return the metadata?
Because 'o expands to (quote o) and you actually hint this list. You might try
(meta ' ^:k
11 matches
Mail list logo