minimallist

A minimalist data driven data model library - https://github.com/green-coder/minimallist - Zulip archive https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/minimallist
borkdude 2020-08-11T08:22:04.002Z

About your PR for :transform do you have any docs so I can read how it works? Why not something like (h/conformer (h/cat int? int?) (map inc))

2020-08-11T11:08:48.003900Z

@borkdude in the PR, there are some tests which are using the new transformer node via a new helper function.

2020-08-11T11:11:38.007600Z

I can write a doc once I go home later tonight. I myself like the new node and found a usecase in my Vrac project. I am interested to know if I should add more options in the node.

borkdude 2020-08-11T11:12:48.007900Z

Thanks. I hope to take a look tomorrow

2020-08-11T11:17:11.008900Z

this one is an example with a data parsing

borkdude 2020-08-11T11:20:05.009400Z

I actually took a look at that example, but didn't understand how that was useful: it has the same output as input?

2020-08-11T11:21:52.010300Z

because the functions are doing inverse transformations

borkdude 2020-08-11T11:22:28.011600Z

that could just be accomplished using a predicate, so maybe not the best example?

2020-08-11T11:22:29.011700Z

inner model is sequence of things, from the outside it is a string

borkdude 2020-08-11T11:23:12.012300Z

I could be missing something

2020-08-11T11:23:31.012800Z

a predicate alone could not leverage an inner model

borkdude 2020-08-11T11:24:07.013400Z

This is why I'd like to see some docs: the tests alone don't explain enough to me. So I'll look again when you have those

borkdude 2020-08-11T11:24:44.013800Z

I haven't used minimallist enough to be able to make sense of just code

1👌