Is there any chance a patch to remove all the obsolete :static keywords from
Clojure's core.clj would be accepted? Or perhaps there isn't much point in
doing so?
I've removed :static as an example keyword in the Metadata section of the
latest Clojure cheatsheet published here:
http://jafi
> 4. what does ^:static do?
Nothing. It's leftover from an old experiment in the Clojure compiler.
-S
--
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
On Wed, Jan 9, 2013 at 10:17 AM, Wujek Srujek wrote:
> So take this definition from master:
>
> (def
>
> ^{:arglists '([x])
>:doc "Return true if x implements ISeq"
>:added "1.0"
>:static true}
> seq? (fn ^:static seq? [x] (instance? clojure.lang.ISeq x)))
>
> static is used twice he
On Wed, Jan 9, 2013 at 9:24 AM, Philip Potter wrote:
> On 9 January 2013 08:37, wrote:
> You're quite right, this changed in 1.3. It's even the first entry in
> the 1.3 changelog:
>
> https://github.com/clojure/clojure/blob/clojure-1.3.0/changes.txt
>
> which reads:
>
> 1.1 Earmuffed Vars ar
So take this definition from master:
(def
^{:arglists '([x])
:doc "Return true if x implements ISeq"
:added "1.0"
:static true}
seq? (fn ^:static seq? [x] (instance? clojure.lang.ISeq x)))
static is used twice here. What is / was the difference? Is it correct
to say that it is now just
On 9 January 2013 08:37, wrote:
> 4. what does ^:static do? I read on SO that it is not used any more, but the
> source code in clojure.core still has these, and various tutorials use them
> as well.
This SO thread seems to describe it well:
http://stackoverflow.com/questions/7552632/what-does
Thanks. Yes, I know about ^String being ^{:tag String} because it is
mentioned all over the place. ^:dynamic is not. Thanks for the links, I
haven't seen them before, and they do clear this issue up.
On Wed, Jan 9, 2013 at 10:03 AM, Andy Fingerhut wrote:
>
> On Jan 9, 2013, at 12:37 AM, wujek.sr
On Jan 9, 2013, at 12:37 AM, wujek.sru...@gmail.com wrote:
> Hi. I am currently learning clojure, which is a nice experience, but you all
> know that.
> I have question about certain metadata definitions, which I couldn't find a
> straight answer to on the net, and in none of the books I'm read
Hi. I am currently learning clojure, which is a nice experience, but you
all know that.
I have question about certain metadata definitions, which I couldn't find a
straight answer to on the net, and in none of the books I'm reading:
1. is ^:dynamic the same as ^{:dynamic true}, just a shortcut?
2