vault backup: 2023-09-11 16:40:35

This commit is contained in:
Louis Gallet 2023-09-11 16:40:35 +02:00
parent d2fd32dffc
commit d2686afddb
Signed by: lgallet
SSH Key Fingerprint: SHA256:qnW7pk4EoMRR0UftZLZQKSMUImbEFsiruLC7jbCHJAY

View File

@ -142,3 +142,10 @@ val succ: int -> int = <fun>
``` ```
> ⚠️ Learn by heart > ⚠️ Learn by heart
**Exemple with `avg` function**
```Ocaml
# let avg = function a -> function b -> (a+b)/2
val avg : int -> int -> int = <fun>
```
> 💭 We read that like "let avg the function that to a associate the function that to b associate a+b divided by two"