Forum de discussion pour l'UE Programmation Fonctionnelle en OCaML

Erreur de type ou fonction inexistante! (OCaml)

Re: Erreur de type ou fonction inexistante! (OCaml)

napisao/la Irene Durand -
Broj odgovora: 0
Il est demandé de représenter un vin par un triplet donc sans constructeur.
Il faut donc écrire
type vin = region * couleur * int