Fork me on GitHub
#malli
<
2019-11-03
>
roklenarcic00:11:16

Base Registry includes schemas :vector, :list, :set, but what I'm missing here is :sequential. Often I have use cases where I don't particularly care which collection it is as long as I can process it like a sequence.

roklenarcic11:11:52

How would I write (s/coll-of string?) in malli?

ikitommi13:11:59

I think :sequential would be nice. Is :list actually useful at all?

roklenarcic13:11:26

I mean it is if you want to schema a list but thats so rare except when you’re validating macro arguments

roklenarcic13:11:10

The operators i miss the most are coll-of and every