1
Name:
Anonymous
2022-11-22 21:34
zip is a transpose unzip is also the transpose transpose is a transpose obvious why Haskell people invented 3 words for the same basic list operations? It is like you have 3 operators `add`, `plus` and `sum`, all doing the addition of two numbers.
2
Name:
Leah Culver
2022-11-23 0:34
I'm a superstar and I won't be there to look for you.
3
Name:
Leah Culver
2022-11-23 1:21
sorry Nikita babe I have another man in my life
4
Name:
Leah Culver
2022-11-23 1:24
It is false, Nikita, it just doesn't make sense!
5
Name:
Anonymous
2022-11-23 6:56
??? zip and unzip are opposite transpose is a generic zip ``Why does bython (or any other shithole scripting lang) have both `map' and `sum'?'' would be an equivalently obtuse question. HIBT?
6
Name:
Anonymous
2022-11-23 6:56
They are subtly different. Compare:
Takes list of lists, returns list of lists:
https://hackage.haskell.org/package/base-4.17.0.0/docs/Data-List.html#v:transpose Takes two lists, returns list of tuples:
http://zvon.org/other/haskell/Outputprelude/zip_f.html Another difference is how they handle element count mismatch. In zip, if one list is bigger than the other, it doesn't create 1-uples.
9
Name:
Anonymous
2022-11-24 0:54
You lot have your testicles wrapped too tight. Only Leah Culver will make it into Heaven.