Hacker News new | ask | show | jobs
by camhutch 1629 days ago
The miranda language (which predates haskell) had a zip function. According to wikipedia, miranda was released in 1985, but I dont know if zip was in the standard miranda environment back then. The comments in the source code say:

    The following is included for compatibility with Bird and Wadler (1988).
    The normal Miranda style is to use the curried form `zip2'.

    > zip :: ([*],[**])->[(*,**)]
    > zip (x,y) = zip2 x y
which suggests a slightly later origination of zip.