Re: [ANN] Clojure 1.8.0-RC3

2015-12-14 Thread Noam Ben-Ari
Brian: it's not an issue with Midje. On Tuesday, December 15, 2015, Brian Marick <mar...@exampler.com> wrote: > Noam: does this mean it's not an issue with Midje? If it is, I'll look > into it. > > Noam Ben-Ari wrote: > >> After upgrading to [reduce-fsm "0.

Re: [ANN] Clojure 1.8.0-RC3

2015-12-08 Thread Noam Ben-Ari
Hi, I have just tried 1.8.0-RC3 and saw a problem. I have a project in which I run tests with `lein midje`, and this runs fine with 1.7.0. When I change the clojure dependency to 1.8.0-RC3 and run it I get this exception: --- Exception in thread "main" java.lang.RuntimeException: Too many

Re: [ANN] Clojure 1.8.0-RC3

2015-12-08 Thread Noam Ben-Ari
2 > 3). > > This is now an exception http://dev.clojure.org/jira/browse/CLJ-1456. > > > > On 8 Dec 2015, at 13:05, Noam Ben-Ari <nbe...@gmail.com > > wrote: > > > > Hi, > > I have just tried 1.8.0-RC3 and saw a problem. > > > > I have a pro

Re: [ANN] Clojure 1.8.0-RC3

2015-12-08 Thread Noam Ben-Ari
After upgrading to [reduce-fsm "0.1.4"] all my tests pass with RC3 :-) On Tuesday, December 8, 2015 at 3:14:21 PM UTC+2, Noam Ben-Ari wrote: > > Thanks for the prompt response, I have filed a ticket to the library > author: > > https://github.com/cdorrat/reduce-fs

Re: camelize-dasherize - reinventing the wheel?

2015-01-07 Thread Noam Ben-Ari
You are right. If it is only applied to keys, like in Thomas's example, it can be very helpful. On Wednesday, January 7, 2015 11:21:39 AM UTC+2, Andrey Antukh wrote: Hello 2015-01-07 10:11 GMT+01:00 Noam Ben-Ari nbe...@gmail.com javascript:: @Thomas Unfortunately, clojure.walk

Re: camelize-dasherize - reinventing the wheel?

2015-01-07 Thread Noam Ben-Ari
Cool! I'm glad you found it useful :-) On Wednesday, January 7, 2015 2:12:35 AM UTC+2, Andrey Antukh wrote: Hi! 2015-01-06 20:25 GMT+01:00 Noam Ben-Ari nbe...@gmail.com javascript:: Hi, I've written a small library (1 ns, 100 lines) to transform nested maps from dash-case keys

Re: camelize-dasherize - reinventing the wheel?

2015-01-07 Thread Noam Ben-Ari
msecs clojure.walk has keywordize-keys and stringify-keys, maybe a suitable starting point for your implementation. HTH, /thomas On Tuesday, January 6, 2015 8:25:57 PM UTC+1, Noam Ben-Ari wrote: Hi, I've written a small library (1 ns, 100 lines) to transform nested maps from dash-case

camelize-dasherize - reinventing the wheel?

2015-01-06 Thread Noam Ben-Ari
Hi, I've written a small library (1 ns, 100 lines) to transform nested maps from dash-case keys to camelCase keys and back. The original use case was taking MySQL records that use camelCase field names and convert them to dash-case so they don't stick out like a sore thumb in my code.

Re: camelize-dasherize - reinventing the wheel?

2015-01-06 Thread Noam Ben-Ari
It mentions in its docs that it avoids using regex's. Andy On Tue, Jan 6, 2015 at 11:25 AM, Noam Ben-Ari nbe...@gmail.com javascript: wrote: Hi, I've written a small library (1 ns, 100 lines) to transform nested maps from dash-case keys to camelCase keys and back. The original use case

Re: [ANN] cuerdas 0.1.0: A string manipulation library for clojure and clojurescript.

2014-12-23 Thread Noam Ben-Ari
Nice job. I would add to docs how each function handles nil. Also, I'm used to another meaning for blank?, from Ruby/Rails and other places, which returns true iff the string is empty or nil. On Tuesday, December 23, 2014 7:48:35 PM UTC+2, Andrey Antukh wrote: Hello everybody. I wanted to