Skip to content

Commit f2ed8d2

Browse files
committed
Merge pull request #54 from hdgarrood/fix-docs
Fix error in documentation
2 parents 8b767db + d383461 commit f2ed8d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/Data/Array.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ useful instances:
2424
Array a`, for concatenating arrays.
2525
* `Foldable`, which provides a slew of functions for *folding* (also known
2626
as *reducing*) arrays down to one value. For example,
27-
`Data.Foldable.any` tests whether an array of `Boolean` values contains
28-
at least one `true`.
27+
`Data.Foldable.or` tests whether an array of `Boolean` values contains
28+
at least one `true` value.
2929
* `Traversable`, which provides the PureScript version of a for-loop,
3030
allowing you to iterate over an array and accumulate effects.
3131

src/Data/Array.purs

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
-- | Array a`, for concatenating arrays.
2323
-- | * `Foldable`, which provides a slew of functions for *folding* (also known
2424
-- | as *reducing*) arrays down to one value. For example,
25-
-- | `Data.Foldable.any` tests whether an array of `Boolean` values contains
26-
-- | at least one `true`.
25+
-- | `Data.Foldable.or` tests whether an array of `Boolean` values contains
26+
-- | at least one `true` value.
2727
-- | * `Traversable`, which provides the PureScript version of a for-loop,
2828
-- | allowing you to iterate over an array and accumulate effects.
2929
-- |

0 commit comments

Comments
 (0)