On Mar 1, 7:00 am, James Reeves <weavejes...@googlemail.com> wrote:
> On Mar 1, 2:19 am, MarkSwanson <mark.swanson...@gmail.com> wrote:
>
> > For an example outside of JSON: recently Compojure changed how it
> > works so the HTTP request properties are all converted to keywords by
> > default. I can see the appeal, but now anyone using Compojure has the
> > increased incidental complexity of possible keyword violations.
> > Imagine if you were integrating with PayPal or some system that had
> > HTTP parameters with characters that were not allowed by the Clojure
> > spec. I really don't want to worry about such things when creating
> > software with Clojure.
>
> Huh? Compojure has pretty much always used keywords in parameter maps.
> It's certainly not a recent change.

Hmm. I recently upgraded an old Clojure release and Compojure at the
same time and all code that used keywords to access the nice Compojure
data broke.
Regrettably I don't have the same setup available so I can't provide
more details.
It must have been a keyword handling change in Clojure. I find
keywords/map integration much less useful/powerful now with the recent
master branch, but that's a topic for another thread.

Compojure is wonderful btw.

Cheers.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to