zip関数
code:hs
zip ::
a
->
b
->
(a,b)
zip = zipWith (,)
zipWith
を使う
例
code:hs
zip
1,2
3,4,5
(1,3),(2,4)
zip
1,2,3
4,5
(1,4),(2,5)
/mrsekut-book-4774183903/217