vault backup: 2023-10-09 14:13:58

This commit is contained in:
Louis Gallet 2023-10-09 14:13:58 +02:00
parent 0f93510572
commit f6b46743a4
Signed by: lgallet
SSH Key Fingerprint: SHA256:qnW7pk4EoMRR0UftZLZQKSMUImbEFsiruLC7jbCHJAY

View File

@ -140,12 +140,12 @@ let rec growing = function
``` ```
## Exercise 3.2 ## Exercise 3.2
```Ocaml ```ocaml
let rec delete x = function let rec delete x = function
| [] -> [] | [] -> []
| e::i -> | e::i ->
if x == e then i if x == e then i
else if e < x then else
e::delete x i e::delete x i
else 1
``` ```
j