Exercice : Généralisation de fonction