kibit
kibit copied to clipboard
(vec (map ...)) => (mapv ...)
trafficstars
(into [](map ....) or (vec (map ...) => (mapv ...)
Hi @pbudzik, thanks for this. I'll look at it more closely when I'm back from break. In the meantime, can you add some tests for this suggestion? Thanks!
Done.
I'm a little conflicted on this, #83 already has raised that into [] isn't always equivalent to vec, specifically in the case where you're using reducers. If you wanted to split this PR out into two parts then I'd be happy to merge the (vec (map part, and leave the into [] part until we have a way to add metadata on rules to warn people about this.
Relates to #107