Excellent.
I'll push 0.2.2 final to clojars soon - as soon as I get the ANN email out.
Thanks for the help.
Cheers
Leonardo Borges
www.leonardoborges.com
On Wed, Jan 16, 2013 at 4:37 AM, Gary Johnson wrote:
> Worked like a charm. Thanks.
>
>
> On Tuesday, January 15, 2013 12:33:26 PM UTC-5,
Worked like a charm. Thanks.
On Tuesday, January 15, 2013 12:33:26 PM UTC-5, Gary Johnson wrote:
>
> Right, I was testing against 1.5.0-RC1 and 1.5.0-RC2. Same problem
> occurred both times. I should have reported that in my initial bug report.
> Sorry about that. Also, thanks for the quick turn
Right, I was testing against 1.5.0-RC1 and 1.5.0-RC2. Same problem occurred
both times. I should have reported that in my initial bug report. Sorry
about that. Also, thanks for the quick turnaround. I'll pull it and test it
out.
~Gary
On Monday, January 14, 2013 7:16:29 PM UTC-5, Leonardo Bo
Sean pointed me to it in the other thread. I read the ticket and discussion
- I personally don't feel it's abuse. To me it feels as natural a use of
destructuring as any other.
just my 2c.
Leonardo Borges
www.leonardoborges.com
On Tue, Jan 15, 2013 at 11:14 AM, Toby Crawley wrote:
> This issu
This issue has already been reported and filed:
http://dev.clojure.org/jira/browse/CLJ-1140
There's been some discussion around that issue on clojure-dev@ as to
whether this is a regression or an abuse of destructuring.
Leonardo Borges writes:
> Alright so the bug appears in Clojure 1.5.0-RC1 -
Alright so the bug appears in Clojure 1.5.0-RC1 - I'm not sure whether this
is a regression or intended behaviour so I'll send a separate email to the
list about that.
In the meantime I've applied a fix and pushed [bouncer "0.2.2-RC2"]
With this change I'm also using lein profiles to run the test
Hi Gary,
Thanks for the bug report.
Which version of Clojure causes the issue? I've been using Clojure 1.4 and
the exact snippet you posted works flawlessly. As well as bouncer, given I
have test cases around validators with no explicit messages.
Cheers,
Leonardo Borges
www.leonardoborges.com
Hey Leonardo,
There's a critical bug in 0.2.2-RC1 in the bouncers.core/wrap function.
An IllegalArgumentException is triggered whenever a validator is not passed
an explicit :message field. It looks like this was introduced in the
process of trying to allow validators to take an arbitrary num
Thanks, really appreciate the kind words.
I just pushed [bouncer "0.2.2-RC1"] so feel free to give that a go :)
Cheers,
Leo
Leonardo Borges
www.leonardoborges.com
On Fri, Jan 11, 2013 at 3:44 PM, faenvie wrote:
>
> i took a look at it. bouncers DSL seems smart inside and out.
> Has an excell
I just pushed [bouncer "0.2.2-RC1"] - would appreciate if you could give
that a go.
You can check the changelog to see what's new:
https://github.com/leonardoborges/bouncer/blob/master/CHANGELOG.md#022-unreleased
But the big changes include:
- a qualified keyword for the errors entry and;
- a sh
Leonardo Borges
www.leonardoborges.com
On Jan 11, 2013 3:44 PM, "faenvie" wrote:
>
> i took a look at it. bouncers DSL seems smart inside and out.
> Has an excellent Documentation too. Thanks for sharing it.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clo
i took a look at it. bouncers DSL seems smart inside and out.
Has an excellent Documentation too. Thanks for sharing it.
--
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 fr
Hi Gary,
First off, I wanna thank you for you thorough review and feedback of
bouncer - it's very much appreciated.
Please see my comments inline.
On Fri, Jan 11, 2013 at 2:35 AM, Gary Johnson wrote:
> Also, I agree with Stathis that there is a problem including the errors map
> in the origina
Thanks for releasing this library. I've written quite a few large
command-line driven applications in Clojure thus far, and each one has used
a slightly different homegrown approach as different core functionality
became available (and the contrib libs kept mutating). Your state monad
inspired
Stathis,
That's a very good point. I've been thinking about the usefulness of
returning the errors map in the original map since the errors map itself is
returned as the first element in the call to 'validate'.
To be honest I'm tempted to remove that with the next release, making
validate return
The ones I looked at were https://github.com/r0man/validation-clj and
https://github.com/michaelklishin/validateur
Cheers,
Leonardo Borges
www.leonardoborges.com
On Wed, Jan 9, 2013 at 4:29 PM, Karim Nassar wrote:
> what are the other validation libraries?
>
> TIA,
> Karim
>
> --
> Karim
>
>
>
Hey Leonardo,
This is very interesting, but I'd like to know whether it's possible to
validate a map that contains an :errors key. Would bouncer overwrite this
with its own :errors key? Should it not be using a fully-qualified keyword
(as in ::errors) to avoid the clash?
Thanks,
Stathis
On
what are the other validation libraries?
TIA,
Karim
--
Karim
On Thu, Jan 3, 2013 at 10:56 PM, Leonardo Borges <
leonardoborges...@gmail.com> wrote:
> Hey guys,
>
> I extracted a small validation library from a side project I'm working
> on and bouncer is the result.
>
> While I do know there a
Hey guys,
I extracted a small validation library from a side project I'm working
on and bouncer is the result.
While I do know there are a couple of validation libs out there
already, I decided this was worth publishing mostly because:
- That’s what I’m using in my current side project
- It take
19 matches
Mail list logo