From 2b10ce1f98699454df91f9c67cbdc9945d2920e1 Mon Sep 17 00:00:00 2001 From: rxi Date: Sat, 10 Mar 2018 14:57:56 +0000 Subject: [PATCH] Fixed README punctuation for lume.reduce --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3c8eba4..b73f9d4 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,7 @@ Applies `fn` on two arguments cumulative to the items of the array `t`, from left to right, so as to reduce the array to a single value. If a `first` value is specified the accumulator is initialised to this, otherwise the first value in the array is used. If the array is empty and no `first` value is specified -an error is raised, +an error is raised. ```lua lume.reduce({1, 2, 3}, function(a, b) return a + b end) -- Returns 6 ```