vault backup: 2023-09-11 16:40:35
This commit is contained in:
parent
d2fd32dffc
commit
d2686afddb
@ -142,3 +142,10 @@ val succ: int -> int = <fun>
|
||||
```
|
||||
> ⚠️ 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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user