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
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 seancorfi...@gmail.com wrote:
On Wed, Feb 1, 2012 at 10:23 PM, R Daneel maspo...@gmail.com wrote:
it says that some of the old contrib.def moved to
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 post
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 the.stuart.sie...@gmail.com
wrote:
defalias was always broken. It does not create an alias, it creates a
new Var and copies the root
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: how
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
Oaaron Thu, Feb 2, 2012 at 5:02 PM, Sam Ritchie sritchi...@gmail.com 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:
On Wed, Feb 1, 2012 at 10:23 PM, R Daneel maspo...@gmail.com 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