Skip to content

Commit 340b2d4

Browse files
authored
Merge pull request #107 from purescript/update-docs
Fix some minor documentation errors
2 parents 7ac8238 + 8f62cbd commit 340b2d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Data/Array.purs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -662,14 +662,14 @@ zipWithA
662662
-> m (Array c)
663663
zipWithA 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.
668668
zip :: forall a b. Array a -> Array b -> Array (Tuple a b)
669669
zip = 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.
673673
unzip :: forall a b. Array (Tuple a b) -> Tuple (Array a) (Array b)
674674
unzip xs =
675675
pureST do

0 commit comments

Comments
 (0)