New release of Minimallist - v0.0.6
Added a describe
function that parses data (similar to Clojure Spec’s s/conform
function)
https://github.com/green-coder/minimallist
@vincent.cantin Yes. This use case: https://gist.github.com/borkdude/6b9c48636b5f9169d26deb13dcfc8ba9 Edamame can return a wrapped number with the number itself and location metadata. I want to validate that number using malli or minimallist and when it's ok, I want to unwrap it.
With spec I would do this using s/conformer
But I could also just postwalk everything after validation, not sure which is better
I created an issue https://github.com/green-coder/minimallist/issues/5
<3
@borkdude I made a PR, awaiting for your feedback. https://github.com/green-coder/minimallist/pull/6
Let’s move any further discussions to #minimallist
New release of Context library - v0.1.2. Added two helpers functions. h/state-value
function is now aware of clojure.lang.IDeref, so it is possible to use async value (future, promise) returned from start-fn. This may be helpful when you want to perform asynchronous connection to database and use it in another component.
https://github.com/redstarssystems/context
New release of application configuration library Keypin
v0.8.1 with bugfix and usability improvements: https://github.com/kumarshantanu/keypin
Very nice. What's the reason of not having names for things in s/cat
like spec has? And is there something like s/conformer
which allows you to transform a value after it's been OK-ed?
Hi folks! New release of Titanoboa (0.8.4) is out! Feel free to check it out, there are some bug fixes and also new UI for dependency management. https://github.com/mikub/titanoboa