[ANN] Predicat 0.2.2

157 views
Skip to first unread message

Sébastien Bocq

unread,
Mar 27, 2016, 8:03:46 PM3/27/16
to Clojure
Hi all,

I'm pleased to announce Predicat, a new validation library that permits to create and compose predicate functions whose failures always carry the expression and the input of the predicate that fails.

See readme on github for the motivation examples:
https://github.com/sbocq/predicat

I hope you find it useful!

Sébastien

adrian...@mail.yu.edu

unread,
Mar 28, 2016, 12:32:56 AM3/28/16
to Clojure
This looks really interesting and useful. Thanks for sharing. Thinking out loud, it would be interesting to see these failures integrated with something like Probe (https://github.com/VitalLabs/probe), which could not only record the failures but also potentially feed them into a monitoring system. Also, in tandem with Manifold (https://github.com/ztellman/manifold), I could see this greatly aiding asynchronous error tracing. 

Sébastien Bocq

unread,
Mar 28, 2016, 11:12:08 AM3/28/16
to clo...@googlegroups.com
Hi Adrian, thanks for the positive feedback. For Manifold, I think validation failures could simply be sent over a channel using the d/error! function. Ideally, failure messages are something users should be able to build on top of these frameworks/libraries and not something enforced with a hard dependency. If you were thinking about asynchronous error propagation that accumulate a trace of failures on nodes in a process network, that is a different and a lot more complicated subject that is well beyond the scope of this library. That being said, this is also a vary interesting subject that definitely deserves attention.

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/TVQC7pfjWtg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages