vault backup: 2023-10-09 13:17:48
This commit is contained in:
@ -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;;
|
||||
```
|
||||
|
Reference in New Issue
Block a user