This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-20
Channels
- # admin-announcements (26)
- # beginners (1)
- # boot (157)
- # cider (46)
- # clojure (52)
- # clojure-italy (19)
- # clojure-japan (31)
- # clojure-russia (61)
- # clojure-sg (3)
- # clojurescript (65)
- # clojurex (7)
- # clojutre (8)
- # datascript (15)
- # editors (19)
- # emacs (9)
- # funcool (13)
- # hoplon (74)
- # ldnclj (13)
- # liberator (20)
- # off-topic (70)
- # om (5)
- # onyx (1)
- # re-frame (5)
- # reagent (20)
- # testing (23)
@ordnungswidrig: Perhaps I should have referenced you for that...
@phil: well, maybe I should release it.
@malcolm, @rickmoynihan cemeric.url is handy to generate url and query strings : https://github.com/cemerick/url
beware that it does not support repeated query parameters like ?a=1&a=2&a=3
yes I've written a similar library that supports that: https://github.com/Swirrl/grafter-url
Not really primetime yet though
I'd like to add incremental construction to it -- i.e. building a URL from nothing (right now you have to have a URL to start from)
but it uses java.net.URI internally for some things - and inherits its limitations
@ordnungswidrig: would be appreciated!
@rickmoynihan: looks like a nice library. Did you consider using an assoc interface instead of (set-xxx)?
Not 100% sure what you mean... GrafterURL is a record - so you can assoc into that if you want
@ordnungswidrig: like, buy-you-a-beer appreciated.
@phil hmm, tempting!
@ordnungswidrig: problem is I want the same interface to work across java.net.URI and java.net.URL - and Associative is an interface not a protocol