You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2025. It is now read-only.
Is your enhancement request related to a problem? Please describe.
Yes.. There is no multi-ways (more than 2) zip in Pact.
Describe the solution you'd like
I would be happy if zip could accept more than a two arguments:
Example:
(zip (lambda (a b c) (format"{} says {} to {}" [a b c]))
["Pascal""Jose"]
["Hello", "Good morning"]
["Amir", "Stuart"])
["Pascal says Hello to Amir", "Jose says Good morning to Stuart"]
Describe alternatives you've considered
Simulating N-ways zip by using existing "2-ways zip" is doable but is cumbersome and ugly.. It requires building different levels of temporary objects or list , and deconstructing them in the target function.
As always, this is only a suggestion... that should be balanced with ease of implementation.