typelevel / scalaz-contrib

Interoperability libraries & additional data structures and instances for Scalaz
http://typelevel.org
MIT License
54 stars 16 forks source link

Added "checkThen" function to Checker to allow a fail-fast behaviour #18

Closed Sebruck closed 10 years ago

Sebruck commented 10 years ago

Sometimes you don't want to execute following validators when a preceding one fails. The checkThen function allows this now.

larsrh commented 10 years ago

Could you please change the tests to use .toValidation and compare the resulting Validation? The classes YesChecker and NoChecker are not really thought for public consumption.

Apart from that, :+1:.

Sebruck commented 10 years ago

Done!

larsrh commented 10 years ago

Thanks!