Many thanks for the detailed discussion! I'm just going with (defn bar
[args] (foo args)) - or the cascalog predicate equivalent - for now; I
guess I can live without the metadata :)
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this g
Broken, in the sense that its name shouldn't be defalias. If it was called,
defcopypmeta or somethingperhaps
On Friday, February 3, 2012, Stuart Sierra
wrote:
> defalias was always broken. It does not create an "alias," it creates a
new Var and copies the root binding. This is broken beca
defalias was always broken. It does not create an "alias," it creates a new
Var and copies the root binding. This is broken because if you rebind or
alter one Var it does not affect the other.
-S
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To p
defalias will transfer the metadata of the righthand side's var to the new
alias on the left.
On Feb 3, 2012 1:25 AM, "Sean Corfield" wrote:
> On Wed, Feb 1, 2012 at 10:23 PM, R Daneel wrote:
> > it says that "some" of the old contrib.def moved to core.incubator, but
> > apparently not defalias.
On Wed, Feb 1, 2012 at 10:23 PM, R Daneel wrote:
> it says that "some" of the old contrib.def moved to core.incubator, but
> apparently not defalias. Can anyone tell me where it is now (or better yet:
> how to answer that sort of question generically!)?
defalias did not get migrated. I don't kno
Oaaron Thu, Feb 2, 2012 at 5:02 PM, Sam Ritchie wrote:
> Hey Mike,
>
> I don't think it's in any of the new modular contrib libraries. I placed it
> in a utility library called "Jackknife" that we use from Cascalog:
>
> https://github.com/sritchie/jackknife/blob/master/src/jackknife/def.clj#L4
>
>
Hey Mike,
I don't think it's in any of the new modular contrib libraries. I placed it
in a utility library called "Jackknife" that we use from Cascalog:
https://github.com/sritchie/jackknife/blob/master/src/jackknife/def.clj#L4
I think the only change I had to make for 1.3 compatibility was chan
Hi! I'm trying to figure out where to get defalias from in the new contrib
repositories:
http://dev.clojure.org/display/doc/Clojure+Contrib
it says that "some" of the old contrib.def moved to core.incubator, but
apparently not defalias. Can anyone tell me where it is now (or better
yet: ho