announcements

Project/library announcements ONLY - use threaded replies for discussions. Do not cross post here from other channels. Consider #events or #news-and-articles for other announcements.
2020-08-09T18:25:29.435900Z

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

👍 5
borkdude 2020-08-10T08:04:27.447800Z

@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.

borkdude 2020-08-10T08:04:41.448Z

With spec I would do this using s/conformer

borkdude 2020-08-10T08:05:24.448200Z

But I could also just postwalk everything after validation, not sure which is better

2020-08-10T15:11:08.450200Z

I created an issue https://github.com/green-coder/minimallist/issues/5

borkdude 2020-08-10T15:12:15.450600Z

<3

2020-08-11T02:50:59.452200Z

@borkdude I made a PR, awaiting for your feedback. https://github.com/green-coder/minimallist/pull/6

2020-08-11T03:11:27.452500Z

Let’s move any further discussions to #minimallist

mike_ananev 2020-08-09T19:07:15.437300Z

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

👍 3
Shantanu Kumar 2020-08-09T19:16:42.439100Z

New release of application configuration library Keypin v0.8.1 with bugfix and usability improvements: https://github.com/kumarshantanu/keypin

👍 5
🎉 1
borkdude 2020-08-09T20:01:09.439800Z

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?

miro 2020-08-09T20:44:27.441300Z

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

💯 11