This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-13
Channels
- # admin-announcements (8)
- # beginners (28)
- # boot (2)
- # bristol-clojurians (4)
- # cider (12)
- # clojure (177)
- # clojure-android (23)
- # clojure-canada (1)
- # clojure-dev (21)
- # clojure-italy (27)
- # clojure-korea (1)
- # clojure-russia (20)
- # clojure-spain (1)
- # clojurebridge (11)
- # clojurescript (156)
- # core-matrix (1)
- # cursive (2)
- # datomic (39)
- # events (1)
- # hoplon (13)
- # immutant (4)
- # javascript (2)
- # jobs (1)
- # ldnclj (13)
- # luminus (2)
- # melbourne (25)
- # off-topic (9)
- # onyx (13)
- # re-frame (110)
- # reagent (5)
@alexmiller: I’ve been thinking about building software to test new versions of Clojure against existing Clojure libraries to help detect breakages early. Is this something that would be useful?
Sure. I know Andy has something like this and there was in the past something like this inside Relevance before I was there
mpenet: https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/LazySeq.java#L34
can't pass the same internal thunk to two different LazySeq instances, else it will be realized twice
it can be, but this is impl details imho, a lambda user would expect a new LazySeq instance with the metadata attached
I got a bug caused by this, and it took me a while to drill down to find the cause, and I don't think I'd be considered a casual user. as I said, either it should be changed or documented imho
I guess file a jira...my hunch is that it will be a doc clarification. I don't see how to implement it properly
I thought this a bit and I think it has to be this way
Not sure where it could be doc'ed other than the metadata page
I guess this could be a special case where metadata is "set" and the same LazySeq instance returned, but this might be a bit hairy to implement, documenting it is what seems to be the least horrible here
that is also not how metadata is designed to work