File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -662,14 +662,14 @@ zipWithA
662
662
-> m (Array c )
663
663
zipWithA f xs ys = sequence (zipWith f xs ys)
664
664
665
- -- | Rakes two lists and returns a list of corresponding pairs.
666
- -- | If one input list is short, excess elements of the longer list are
665
+ -- | Takes two arrays and returns an array of corresponding pairs.
666
+ -- | If one input array is short, excess elements of the longer array are
667
667
-- | discarded.
668
668
zip :: forall a b . Array a -> Array b -> Array (Tuple a b )
669
669
zip = zipWith Tuple
670
670
671
- -- | Transforms a list of pairs into a list of first components and a list of
672
- -- | second components.
671
+ -- | Transforms an array of pairs into an array of first components and an
672
+ -- | array of second components.
673
673
unzip :: forall a b . Array (Tuple a b ) -> Tuple (Array a ) (Array b )
674
674
unzip xs =
675
675
pureST do
You can’t perform that action at this time.
0 commit comments