We would have a polymorphic function msort with a type parameter t.
Generally speaking, this allows a proper understanding of the error in the definition of the polymorphic function.
En général, cela suffit à comprendre et à corriger l'erreur qui s'était glissée dans la fonction polymorphe.
A polymorphic function can operate on many different data types, with the specific data type(s) being determined by the data types actually passed to it in a particular call.
Une fonction polymorphe peut opérer sur de nombreux types de données différents, les types de données spécifiques étant déterminés par les types des données réellement passés lors d'un appel particulier de la fonction.
How to debug my polymorphic function?
Comment déboguer ma fonction polymorphe ?
We would have a polymorphic function msort
Nous aurions une fonction polymorphe msort
The actual data types handled by a polymorphic function can vary from call to call, as discussed in Section 35.2.5.
Le type de données réel géré par une fonction polymorphe peut varier d'appel en appel (voir la Section 33.2.1).
A function that can evaluate to or be applied to values of different types is known as a polymorphic function.
Polymorphic arguments and results are tied to each other and are resolved to a specific data type when a query calling a polymorphic function is parsed.
Les arguments et résultats polymorphes sont liés entre eux et sont résolus dans un type de données spécifique quand une requête faisant appel à une fonction polymorphe est analysée.
The more common case to get a "not polymorphic enough" definition is when defining a function via partial application of a general polymorphic function.
Le cas le plus fréquent où une définition n'est pas assez polymorphe se produit lors de la définition d'une fonction par application partielle d'une fonction polymorphe plus générale.
Andere resultaten
Some also support polymorphic functions using the types anyarray and anyelement.
The class can easily be provided with additional members without needing polymorphic functions.
La classe peut donc facilement être complétée avec des membres supplémentaires sans recourir à des fonctions polymorphes.
Some also support polymorphic functions using the types anyelement, anyarray, anynonarray, anyenum, and anyrange.
Certains supportent également les fonctions polymorphes qui utilisent les types anyelement, anyarray, anynonarray, anyenum et anyrange.
See Section 33.2.5 for a more detailed explanation of polymorphic functions.