4 ms·
Especially when doing things like mapping or list comprehension. I'd love to be able to do operations on collections in parallel by simply marking my functions
by 7734128 3y ago
Especially when doing things like mapping or list comprehension. I'd love to be able to do operations on collections in parallel by simply marking my functions as pure. Just a simple xs.map {x -> f(x)} combined with "f" marked as pure confirmed by the compiler to make the magic happen.