The soul of case

2017-06-18 Thread Matching Socks
In Clojure's case, a symbol is a symbol. For example, this snippet of Clojure says *:no-match*. (ns foo.bar) (def ^:const n 3) (def ^:const m 4) (let [x 4] (case x n 1 m 2 7 3 "hi" 4 :no-match)) The snippet came from http://blog.fikesfarm.com/posts/2015-06-15-clojurescr

The soul of case

2017-06-18 Thread Alex Miller
At a glance I'd say no and that seems wrong. -- 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 uns

Re: The soul of case

2017-06-18 Thread Herwig Hochleitner
I was pretty horrified, when this crossed my timeline. Thanks, Phil, for starting this thread, because I'd already forgotten about it. First thing that seems strange, is, that the blog post is from 2015. Nevertheless, I just tried it on a nashorn repl: cljs.user> *clojurescript-version* "1.9.562"

[ANN] Miraj: functional, idiomatic Clojure web programming, including web components

2017-06-18 Thread Gregg Reynolds
Hi folks, The goal of the Miraj project is to support web programming, including definition and use of web components (specifically Polymer 1.9.x in this version), in seamless and idiomatic Clojure. It seems to be somewhere in

Re: The soul of case

2017-06-18 Thread David Nolen
I agree that this behavior diverges from Clojure's and that we probably should have thought it through a bit more 2 years ago. But at this point it's probably water under the bridge. Anybody that's actually relying on this behavior is likely inlining named numeric constants to make jump tables. The

ClojureDocs example management?

2017-06-18 Thread Mars0i
Who polices ClojureDocs? If someone adds a silly or simply incorrect example, does someone eventually remove it? Are there ever spam-like "examples"? Or are Clojure fans all good, thoughtful, careful people who never make foolish mistakes? I'm curious because I see no sign that anyone police

Re: ClojureDocs example management?

2017-06-18 Thread Alex Miller
I believe Lee Hinman was the original maintainer of ClojureDocs and it's mostly Zachary Kim now. Reop is at: https://github.com/zk/clojuredocs although the data is not publicly available other than through the site afaik. I'm not sure how much editing it receives right now. In general, I think

Re: ClojureDocs example management?

2017-06-18 Thread Andy Fingerhut
I think part of it is that examples are easy to edit, so if there are small easily fixed mistakes, often someone will. Unlike politically contentious issues on Wikipedia, there isn't much to be gained from putting misleading information in ClojureDocs. Andy On Sun, Jun 18, 2017 at 7:53 PM, Alex

Re: [ANN] Miraj: functional, idiomatic Clojure web programming, including web components

2017-06-18 Thread Jiacai Liu
Cool. One question: Is miraj compatible with https://github.com/weavejester/hiccup ? On Mon, Jun 19, 2017 at 2:29 AM, Gregg Reynolds wrote: > Hi folks, > > The goal of the Miraj project is to support web programming, including > definition and use of web components (specifically Polymer 1.9.x >