From 039c7bfd1c717e2e262c554a2be9fce5945fa79b Mon Sep 17 00:00:00 2001 From: Louis Date: Mon, 9 Oct 2023 13:17:48 +0200 Subject: [PATCH] vault backup: 2023-10-09 13:17:48 --- Algo/Courses/Chapter 6 - Lists (Exercises).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Algo/Courses/Chapter 6 - Lists (Exercises).md b/Algo/Courses/Chapter 6 - Lists (Exercises).md index 0126433..c732d15 100644 --- a/Algo/Courses/Chapter 6 - Lists (Exercises).md +++ b/Algo/Courses/Chapter 6 - Lists (Exercises).md @@ -111,7 +111,7 @@ let maximum = function ## Exercise 2.1 ```Ocaml -let rec arithmetic_list n a1 r = +let rec arith_list n a1 r = if n <= 0 then [] else a1 :: arithmetic_list (n - 1) (a1 + r) r;; ```