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
662662 -> m (Array c )
663663zipWithA f xs ys = sequence (zipWith f xs ys)
664664
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
667667-- | discarded.
668668zip :: forall a b . Array a -> Array b -> Array (Tuple a b )
669669zip = zipWith Tuple
670670
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.
673673unzip :: forall a b . Array (Tuple a b ) -> Tuple (Array a ) (Array b )
674674unzip xs =
675675 pureST do
You can’t perform that action at this time.
0 commit comments