vault backup: 2023-10-09 13:56:07

This commit is contained in:
2023-10-09 13:56:08 +02:00
parent 47b63721c2
commit 0f93510572
2 changed files with 27 additions and 8 deletions

View File

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