Open
Description
The current implementation of zip
does not behave the way it does in Haskell or Python. Haskell and Python accept list of different lengths. This has caught me off guard, and I've had to roll my own. I'm opening this issue to propose an update to zip
to accept arguments that are of different lengths. I'd be happy to open a pull request if this behavior is desired.
An example of the proposed behavior:
(zip '(3 1 2) '(0 5)) ; => ((3 0) (1 5))
Let me know what you think.
Metadata
Metadata
Assignees
Labels
No labels