Is str's behavior changed?

2018-01-14 Thread Alice
Unlike explained in http://blog.klipse.tech/clojure/2016/11/24/stringify-clojure.html (str "Hello\nWorld") just prints "Hello\nWorld"(Surrounding quotes are preserved and new lines are not interpreted). String.toString() just returns the string itself, so I have no idea why it should be the way

Re: Is str's behavior changed?

2018-01-14 Thread James Reeves
The str function has always behaved in the same way. The article is somewhat misleading. The article does say "strings print without the surrounding quotes", which is true if you're using the function "print" or "println": user=> (println "Hello World") Hello World nil But REPLs print the

Re: Spec - is there any way to tell which keys are not described by a spec?

2018-01-14 Thread Lucas Wiener
> > Turns out it does not do what I thought it would when I initially looked > at it. I would like something that does similar to possible-keyspec-typos > but kinda the reverse. Instead of reporting missing keys found in the spec, > I would like it to report keys that are present in the data bu