Tropical algebra overloading: Difference between revisions
Content added Content deleted
m (remove draft tag) |
(→{{header|Vlang}}: Rename "Vlang" in "V (Vlang)") |
||
Line 815: | Line 815: | ||
</pre> |
</pre> |
||
=={{header|Vlang}}== |
=={{header|V (Vlang)}}== |
||
{{trans|Go}} |
{{trans|Go}} |
||
Vlang doesn't support operator overloading so we need to use functions instead. |
Vlang doesn't support operator overloading so we need to use functions instead. |
||
<syntaxhighlight lang="vlang">import math |
<syntaxhighlight lang="v (vlang)">import math |
||
const ( |
const ( |