Help for this page

Select Code to Download


  1. or download this
    zip = zipWith (\x y -> (x,y))
    
  2. or download this
    zipWith {[$_[0], $_[1]]} @foo, @bar;
    # or:
    zipWith {($a,$b)=@_;[$a,$b]} @foo, @bar;
    # or:
    zipWith {[unshift,unshift]} @foo, @bar;