Fork me on GitHub
#announcements
<
2020-06-15
>
Candid01:06:57

Joker v0.15.5 is released: https://github.com/candid82/joker/releases/tag/v0.15.5. It can now format Clojure code. If you use Sublime Text, this plugin https://github.com/candid82/sublime-pretty-clojure uses Joker to format Clojure files when saving. Should be easy to write a plugin for Emacs and other editors, if anyone is interested. Formatting is not perfect and has some issues. I intend to improve it over time.

parens 7
πŸš€ 5
sublimetext 1
Candid01:06:57

Joker v0.15.5 is released: https://github.com/candid82/joker/releases/tag/v0.15.5. It can now format Clojure code. If you use Sublime Text, this plugin https://github.com/candid82/sublime-pretty-clojure uses Joker to format Clojure files when saving. Should be easy to write a plugin for Emacs and other editors, if anyone is interested. Formatting is not perfect and has some issues. I intend to improve it over time.

parens 7
πŸš€ 5
sublimetext 1
uochan03:06:40

@U75LX44UA Great work! I'll add a support with vim-iced ☺️ https://github.com/liquidz/vim-iced/commit/1083fe183b347c3ef7d644cc3bc65b10b4a6b0a1

dominicm06:06:09

How does the formatting work?

Candid16:06:49

@UBL24PLE6 Thanks! Let me know when it's released so that I could put a link to Joker's readme.

Candid16:06:46

@U09LZR36F it's more like indent-only mode of zprint, it respects blank lines and line breaks (for the most part). It's intended to be used with editor plugins on save.

dominicm16:06:41

@U75LX44UA so it's like cljfmt, and just sets a particular amount of indent?

rutledgepaulv14:06:39

Announcing https://github.com/Guaranteed-Rate/lazy-map. This is a new (and maintained!) fork of a pre-existing library thinktopic/lazy-map. Other than establishing the fork, this release brings increased test coverage, several bug fixes, compatibility with java.util.Map, and merge/deep-merge functions that preserve laziness. Cheers!

sheepy 6
πŸ‘ 5
Lucy Wang08:06:13

Could be quite useful. E.g. in a ring middleware we can add a :user key to the request map, and only load the user from db when the handler function (or other middlewares need it)

rutledgepaulv14:06:42

Indeed! My usage is a similar idea to that. I have a map with unknown consumers and some pieces of that map now require making a network call. I can still present the map and not break my consumers but now the data is only actually retrieved on demand.

πŸ‘ 1
genmeblog14:06:22

dplyr-like api build on the top http://tech.ml.dataset is now on Clojars. https://github.com/scicloj/tablecloth Please refer documentation (https://scicloj.github.io/tablecloth/index.html) with 550+ usage examples.

parrot 2
otfrom15:06:09

nice one πŸ™‚

πŸ™‚ 1