Re: Is it wrong that I'm thinking about this?

2017-09-24 Thread Didier
Agree, but I'm not a huge fan of :- as the syntax. Its fine, but why not just colon like in pascal based languages? Or even just have the spec follow the arguments and the arg list? I think for spec, macros of a different name might be best, since I think its not useful to have fns that don't ha

Re: When does .getThreadCpuTime return nil?

2017-09-24 Thread Neil Okamoto
Ok, hope it works out. > On Sep 23, 2017, at 8:03 PM, lawrence.krub...@gmail.com wrote: > > > Thanks for the answer. I am surprised because I used this code for years > without ever seeing that error. I'm trying to imagine what I did differently > this one time. I've added error detection, we

Re: Is it wrong that I'm thinking about this?

2017-09-24 Thread Tommi Reiman
Would also love to see the spec-aware fn, def, defn and defrecord utils somewhere. One thing I like most about Clojure(Script) is it's conciseness and Schema provided just that with it's schema-aware def(n)s & the plumbing defnk. The current fdef seems good for libraries, but feels noisy for app

clojure.core.server/start-server should have :encoding as option

2017-09-24 Thread Alex Miller
File a jira -- 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 em

clojure.core.server/start-server should have :encoding as option

2017-09-24 Thread Rosswart
It would be helpful if start-server would have :encoding as option. Reason: My system has to talk to different clients in different encodings. I justed hacked start-server and added encodings as an argument so I can start servers on different ports with different encodings. That works but if the