Fork me on GitHub
#liberator
<
2015-08-20
>
phil10:08:35

Hey, any idea on an ETA for the :init key support?

phil10:08:03

@ordnungswidrig: Perhaps I should have referenced you for that...

phil10:08:29

Looks like I mean :initialize-context, too.

ordnungswidrig12:08:38

@phil: well, maybe I should release it.

ordnungswidrig12:08:28

@malcolm, @rickmoynihan cemeric.url is handy to generate url and query strings : https://github.com/cemerick/url

ordnungswidrig12:08:50

beware that it does not support repeated query parameters like ?a=1&a=2&a=3

rickmoynihan13:08:19

yes I've written a similar library that supports that: https://github.com/Swirrl/grafter-url

rickmoynihan13:08:45

Not really primetime yet though

rickmoynihan13:08:14

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)

rickmoynihan13:08:00

but it uses java.net.URI internally for some things - and inherits its limitations

phil13:08:30

@ordnungswidrig: would be appreciated!

ordnungswidrig13:08:53

@rickmoynihan: looks like a nice library. Did you consider using an assoc interface instead of (set-xxx)?

rickmoynihan13:08:48

Not 100% sure what you mean... GrafterURL is a record - so you can assoc into that if you want

phil13:08:05

@ordnungswidrig: like, buy-you-a-beer appreciated. simple_smile

phil13:08:30

Final offer.

phil13:08:40

Plus a free copy of emacs.

rickmoynihan13:08:54

@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