vault backup: 2023-09-15 16:17:18

This commit is contained in:
2023-09-15 16:17:18 +02:00
parent ffe134144f
commit 3f37a1ccb5
3 changed files with 31 additions and 7 deletions

View File

@ -1,5 +1,5 @@
|## Exercise 2.2 (Power)
## Exercise 2.2 (Power)
```Ocaml
(*First version ; 6 multiplications*)
@ -366,3 +366,11 @@ let rec multiply x y =
eg b;;
```
## Exercise 4.11
```Ocaml
let rec puissance = function
|n when n = 0 -> 1
|n when n = 1 -> x
|n ->
```