Anonymous user
Parametric polymorphism: Difference between revisions
→{{header|Genyris}}
Line 193:
=={{header|Genyris}}==
Genyris is a dynamically typed language with optional type checking. Since types are used heavily with tagging, parametric types are
<lang python>def add (a x y)
x : a ; type checks
y : a
tag a (+ a b)</lang>
=={{header|Haskell}}==
|