ivarref/memoize-ttl {:mvn/version "2020.09.01"}
is released, a tiny library that lets you cache function return values for a dynamic number of seconds.
https://github.com/ivarref/memoize-ttl
Cool little lib! A bit off-topic, but I thought it would be nice if namespace to require was the same as maven coordinate (e.g. (require 'ivarref/memoize-ttl)
). That way both in code and in tooling I would have the same identifier which is more consistent.
Thanks for the feedback. That might make sense. I've seen different styles used, I followed https://github.com/cjohansen/clj-event-source Maybe I will change to your suggested style later. Is there a guide for this somewhere?
https://github.com/clj-commons/clj-yaml version 0.7.2 was just released. Bumping of underlying libs and exposing some more config options.
Cool, will bump in next babashka release!
I've implemented your suggestion @vlaaad, thanks for the input!