From 938b2f4840afc55521de391f124365e339191914 Mon Sep 17 00:00:00 2001 From: Christopher Fremond <34804391+Frenchris@users.noreply.github.com> Date: Fri, 13 Mar 2020 05:12:13 +0000 Subject: [PATCH] Update reduceint.en.md --- subjects/reduceint.en.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/reduceint.en.md b/subjects/reduceint.en.md index 97e32837c..ad649b9c2 100644 --- a/subjects/reduceint.en.md +++ b/subjects/reduceint.en.md @@ -15,12 +15,12 @@ This means that: Write a function called `reduceint` that simulates the behaviour of reduce from JavaScript. -The function should have as parameters a function, `f func(int, int) int` and a slice of integers, `slice []int`. You should apply for each element of the slice the arithmetic function, saving it and printing. +The function should have as parameters a function, `f func(int, int) int` and a slice of integers, `arr []int`. You should apply for each element of the slice the arithmetic function, saving it and printing. ### Expected function ```go -func ReduceInt(f func(int, int) int, slice []int) { +func ReduceInt(f func(int, int) int, arr []int) { } ```