Re: [ANN] Clojure 1.9.0-alpha13

2016-09-29 Thread Mark Engelberg
It appears that the recent alphas are incompatible with the Counterclockwise REPL. When I create an empty project in Counterclockwise, using this alpha, then when I try to launch a REPL, clojure.main throws an error saying: Exception in thread "main" clojure.lang.ExceptionInfo: Call to clojure.cor

clojure.spec to match string

2016-09-29 Thread Serzh Nechyporchuk
Hello to everyone. Are there any ability to use specs to match string, something like standard regex? For example, I have a function that takes a specially constructed string as parameter: (defn parse-something [s] ...) ;; s => "a=1; b=2; c=3" It would be nice doing this, because I be able t

Re: [ANN] Clojure 1.9.0-alpha13

2016-09-29 Thread Mark Engelberg
This is the line that is broken by the recent alphas: https://github.com/laurentpetit/ccw.server/blob/master/src/ccw/debug/serverrepl.clj#L448 I remember reading somewhere the new alphas have a breaking change to the way :or destructuring works (but I don't remember the details), so I'm guessing t

Re: [ANN] Clojure 1.9.0-alpha13

2016-09-29 Thread Alex Miller
I think the problem is not on the :or but on the :keys which is being passed a set rather than a sequential? -- 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 member

clojure.spec to match string

2016-09-29 Thread Alex Miller
You can make a predicate using re-matches - there is an email example in http://clojure.org/guides/spec -- 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

Re: [ANN] Clojure 1.9.0-alpha13

2016-09-29 Thread Herwig Hochleitner
https://github.com/laurentpetit/ccw.server/pull/1 2016-09-29 14:37 GMT+02:00 Alex Miller : > I think the problem is not on the :or but on the :keys which is being > passed a set rather than a sequential? > > -- > You received this message because you are subscribed to the Google > Groups "Clojure

Re: clojure.spec to match string

2016-09-29 Thread Serzh Nechyporchuk
Thank you Alex. That’s true, I can use just predicate to validate string. But I want a little more from this. I really want to use generators and conforming. I know that strings are seqable, s/cat works with seq. So my question is: Are there any way to combine this? > On Sep 29, 2016, at 15:39

Re: clojure.spec to match string

2016-09-29 Thread Sean Corfield
The test.chuck library from Gary Fredericks has a generator for regex strings that works pretty well. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood On 9/29/16, 7:20 AM,

Re: clojure.spec to match string

2016-09-29 Thread lvh
> On Sep 29, 2016, at 11:42 AM, Sean Corfield wrote: > > The test.chuck library from Gary Fredericks has a generator for regex strings > that works pretty well. Whenever I get some time (not soon, if my inbox is anything to go by), I’ll add the equivalent part to schpec. lvh > Sean Corfield

Re: [ANN] Clojure 1.9.0-alpha13

2016-09-29 Thread Laurent PETIT
Thank you all, I have merged the pull request for ccw.server, and released ccw.server:0.2.1 to clojars. The Pull Request on CCW itself to use the new ccw.server version is on its way, stay tuned... Le jeudi 29 septembre 2016 15:04:37 UTC+2, Herwig Hochleitner a écrit : > > https://github.com/la

Re: [ccw-users] Re: [ANN] Release 0.35.0 of Counterclockwise

2016-09-29 Thread Laurent PETIT
Well, actually ccw is in maintenance mode right now. I don't work on it anymore, just try to fix it if it is broken (as is the case for clojure 1.9). So if in the future someone steps up to ask for the leadership of the project, then I'd be glad to step back and give them the baby. Le ven. 9 sep

CIDER: function definition is void: nrepl-current-connection-buffer

2016-09-29 Thread fahptv
How do I inspect and resolve the following? (Thanks in advance for any help) I did M-x cider-jack-in-clojurescript with CIDER from MELPA stable as well as MELPA and got the same result. I was thinking perhaps I have inconsistent versions of things, or perhaps I have something that's out-dated.

Is Pallet abandoned? Alternatives?

2016-09-29 Thread Miroslav Kubíček
Hi there, I just got super excited about Pallet only to find out that the last commit was 3 years ago and that it is not being actively maintained (using now old version of jCoulds etc.). Are there any alternatives that would work well with Clojure paradigm? Or are my options only to either go w

Re: CIDER: function definition is void: nrepl-current-connection-buffer

2016-09-29 Thread Bozhidar Batsov
A long time ago this function was renamed to cider-current-connection. On 30 September 2016 at 00:56, wrote: > How do I inspect and resolve the following? (Thanks in advance for any > help) > > I did M-x cider-jack-in-clojurescript with CIDER from MELPA stable as > well as MELPA and got the same

Re: CIDER: function definition is void: nrepl-current-connection-buffer

2016-09-29 Thread Bozhidar Batsov
Ah, noticed your problem - ac-nrepl is a legacy package that hasn't been updated in ages. There's ac-cider now. On 30 September 2016 at 09:37, Bozhidar Batsov wrote: > A long time ago this function was renamed to cider-current-connection. > > On 30 September 2016 at 00:56, wrote: > >> How do I