3 ms·
I just checked the documentation of lisps implementation and it is different from my code. If the input lists have a different size, the shortest list decides t
by valenterry 6y ago
I just checked the documentation of lisps implementation and it is different from my code. If the input lists have a different size, the shortest list decides the result length and everything else is discarded.
This is of course possible to implement in Scala too, but I think it is a very bad thing to do that which can lead to bugs quite easy. I prefer my solution in that case.