Fork me on GitHub

@alexmiller: I just realized I didn't document the new :load-ns opt to deftype/defrecord in my patch for CLj-1208


should I open a new ticket or reopen that one?

Alex Miller (Clojure team)15:10:44

new ticket - I will just pull it up into 1.8 as that seems important


ok -- I'm not on my dev laptop rn so I can't make a patch, I'll just open a ticket and handle that tomorrow


Hi, there. Is it known/okay that & gets silently bound in this case:

(defprotocol Foo
  (foo [this & b]))
=> Foo
(deftype T []
  (foo [o & b] [o & b]))
=> user.T
(foo (->T) 1 2)
=> [#object[user.T 0x7e01f15e "user.T@7e01f15e"] 1 2]
Working on warning the user cljs-side

Alex Miller (Clojure team)16:10:05

There is a clj ticket for this too

Alex Miller (Clojure team)16:10:34

It is known and not ok imo :)


@alexmiller: can you close CLJ-1773? (it's just marked as resolved)


@alexmiller: will search for the ticket, thanks. BTW, I don't get why it'd be bad to be able to have variadics in protocols (one day)?

Alex Miller (Clojure team)16:10:06

protocols create Java interfaces as well as Clojure functions and that creates some complications

Alex Miller (Clojure team)16:10:25

potentially resolvable complications


alright; do you see use cases come often?

Alex Miller (Clojure team)16:10:59

it comes up occasionally

Alex Miller (Clojure team)16:10:03

I guess 1661 is the one. there's some weird history some of which is on the mailing list. I marked it triaged but that ticket needs some work though.


It is not evident if someone is onto it, I'll be checking maybe, missing Java a bit ^^

Alex Miller (Clojure team)16:10:53

the ticket description needs work to better capture the problem and approach

Alex Miller (Clojure team)16:10:11

prob good to check whether the patch still applies too


@alexmiller: tbh I never understood the position clojure has wrt java varargs. there is bytecode annotation for varargs so clojure could handle java varargs automatically rather than as a single arg (and in the same vein, compile vararg protocol methods into java varargs)


unless there's some impl detail I'm forgetting

Alex Miller (Clojure team)16:10:20

I've never talked to Rich about it, but my guess is that all those ends were just never tied down


Well, a warning would be cool until the odds are settled =]


@bronsa: By the way, what's your status with regard to tools.reader releases? I put the "alpha" label on tools.namespace 0.3.0-alpha1 because it depends on tools.reader 0.10.0-alpha3


@stuartsierra: I just forgot to release 0.10.0


thanks, I'm launching the hudson job now


@bronsa: hah! No worries, thanks simple_smile


0.10.0 is released simple_smile