From 7caef954cc0c48213ce34c1e30eb70aa57d32471 Mon Sep 17 00:00:00 2001 From: Irakli Safareli Date: Sun, 9 Oct 2016 18:47:20 +0400 Subject: [PATCH] Fix reduce signature to not use currying For consistency with other signatures. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 692319a..a45295e 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,7 @@ or its `constructor` object. The `of` method takes one argument: #### `reduce` method ```hs -reduce :: Foldable f => f a ~> (b -> a -> b) -> b -> b +reduce :: Foldable f => f a ~> ((b, a) -> b) -> b -> b ``` A value which has a Foldable must provide a `reduce` method. The `reduce`