From d383461a3a07b9b4b187ba46002cf056ad0a54c5 Mon Sep 17 00:00:00 2001 From: Harry Garrood Date: Thu, 14 Jan 2016 18:21:03 +0000 Subject: [PATCH] Fix error in documentation --- docs/Data/Array.md | 4 ++-- src/Data/Array.purs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Data/Array.md b/docs/Data/Array.md index 4e4a3d9c..4dd508c9 100644 --- a/docs/Data/Array.md +++ b/docs/Data/Array.md @@ -24,8 +24,8 @@ useful instances: Array a`, for concatenating arrays. * `Foldable`, which provides a slew of functions for *folding* (also known as *reducing*) arrays down to one value. For example, - `Data.Foldable.any` tests whether an array of `Boolean` values contains - at least one `true`. + `Data.Foldable.or` tests whether an array of `Boolean` values contains + at least one `true` value. * `Traversable`, which provides the PureScript version of a for-loop, allowing you to iterate over an array and accumulate effects. diff --git a/src/Data/Array.purs b/src/Data/Array.purs index 78c39167..a8185bbb 100644 --- a/src/Data/Array.purs +++ b/src/Data/Array.purs @@ -22,8 +22,8 @@ -- | Array a`, for concatenating arrays. -- | * `Foldable`, which provides a slew of functions for *folding* (also known -- | as *reducing*) arrays down to one value. For example, --- | `Data.Foldable.any` tests whether an array of `Boolean` values contains --- | at least one `true`. +-- | `Data.Foldable.or` tests whether an array of `Boolean` values contains +-- | at least one `true` value. -- | * `Traversable`, which provides the PureScript version of a for-loop, -- | allowing you to iterate over an array and accumulate effects. -- |