Skip to content

Commit

Permalink
Fix reduce signature to not use currying (#182)
Browse files Browse the repository at this point in the history
For consistency with other signatures.
  • Loading branch information
safareli authored and davidchambers committed Oct 9, 2016
1 parent 69acbd9 commit d3ad095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit d3ad095

Please sign in to comment.