1 parent 9b60e13 commit fcd7d06Copy full SHA for fcd7d06
1 file changed
01/lecture.md
@@ -361,3 +361,22 @@ let rec fibo n = match n with
361
| 1 -> 1
362
| n -> fibo (n - 1) + fibo (n - 2)
363
```
364
+
365
+### Application partielles
366
367
+Il est possible de pas fournir tous les arguments a une fonction.
368
+```ocaml
369
+( + )
370
+```
371
372
373
+( + ) 1
374
375
376
377
+let f = ( + ) 1
378
379
380
381
+f 4
382
0 commit comments