vault backup: 2023-09-14 16:28:30

This commit is contained in:
2023-09-14 16:28:30 +02:00
parent 10c9f6b716
commit 23016a56fd
4 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,4 @@
![](https://gitea.louisgallet.fr/lgallet/epicours/raw/branch/main/Algo/S%C3%A9minaire/assets/unitaire-meme.png)
<center><img src="https://gitea.louisgallet.fr/lgallet/epicours/raw/branch/main/Algo/S%C3%A9minaire/assets/unitaire-meme.png " width=auto height=400 /> </center>
## 0.1. Print
If we want to print something in CAML, we have to use this structure

View File

@ -1,4 +1,3 @@
<center><img src="https://gitea.louisgallet.fr/lgallet/epicours/raw/branch/main/Algo/S%C3%A9minaire/assets/recursivite-meme.png " width=512 height=auto /> </center>
### 5.1. Simple functions
@ -79,13 +78,13 @@ let rec fibonacci n =
else
fibonacci(n-1) + fibonacci(n-2);;
let add n =
let rec odd n =
if n = 0 then
false
else
even (n-1);;
let even n =
let rec even n =
if n = 0 then
true
else

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB