tech:notes_go_lang_programmation_fonctionnelle
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| tech:notes_go_lang_programmation_fonctionnelle [2026/04/13 22:27] – créée Jean-Baptiste | tech:notes_go_lang_programmation_fonctionnelle [2026/04/18 09:11] (Version actuelle) – Jean-Baptiste | ||
|---|---|---|---|
| Ligne 3: | Ligne 3: | ||
| # Notes go lang programmation fonctionnelle | # Notes go lang programmation fonctionnelle | ||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| ## map | ## map | ||
| + | |||
| + | Voir : | ||
| + | * https:// | ||
| ~~~go | ~~~go | ||
| Ligne 11: | Ligne 17: | ||
| import " | import " | ||
| - | type f_ii func(int) int | + | //type f_ii func(int) int |
| - | func MapInt(f f_ii, l []int) [](int) { | + | //func MapInt(f f_ii, l []int) [](int) { |
| + | func MapInt(f func(int) int, l []int) [](int) { | ||
| ret := []int{} | ret := []int{} | ||
| for _, v := range l { | for _, v := range l { | ||
tech/notes_go_lang_programmation_fonctionnelle.1776112061.txt.gz · Dernière modification : de Jean-Baptiste
