Browse Source

Remove reference to another programming language

content-update
xpetit 4 years ago committed by Xavier Petit
parent
commit
435bb95a04
No known key found for this signature in database
GPG Key ID: CA3F2B17E25ABD26
  1. 2
      subjects/foldint/README.md
  2. 2
      subjects/reduceint/README.md
  3. 2
      subjects/slice/README.md

2
subjects/foldint/README.md

@ -2,8 +2,6 @@
### Instructions
Write a function called `FoldInt` that simulates the behavior of reduce from JavaScript.
The function should have as parameters a function, `f func(int, int) int` a slice of integers, `slice []int` and an int `acc int`. You should apply for each element of the slice the arithmetic function, saving and printing it. The function will be tested with our own functions `Add, Sub, and Mul`.
### Expected function

2
subjects/reduceint/README.md

@ -2,8 +2,6 @@
### Instructions
Write a function called `reduceint` that simulates the behaviour of reduce from JavaScript.
The function should have as parameters a slice of integers, `a []int` and a function `f func(int, int) int`. You should apply for each element of the slice the arithmetic function, saving it and printing.
### Expected function

2
subjects/slice/README.md

@ -2,8 +2,6 @@
### Instructions
Write a **function** that replicates the JavaScript function `slice`.
The function receives a slice of strings and one or more integers, and returns a slice of strings. The returned slice is part of the received one but cut from the position indicated in the first int, until the position indicated by the second int.
In case there only exists one int, the resulting slice begins in the position indicated by the int and ends at the end of the received slice.

Loading…
Cancel
Save