I am trying to implement a function that creates a list from two int lists to form pairs. But when I try to run zip, it tells me that this is an unbound variable. Is there any other function which does the same job in the library or some definition of zip with using the folding procedures?
Asked
Active
Viewed 1,336 times
1 Answers
5
Try ListPair.zip
or ListPair.zipEq
. See also the specification of the ListPair structure in the standard basis library.

Andreas Rossberg
- 34,518
- 3
- 61
- 72