In Elm what is the correct way to implement my own toString
The problem is that, calling your function toString
, you are overriding the toString
function of the Basics
module, which you are using at line 45.
To avoid this, you'll need to import the Basics
module and use Basics.toString
instead of simply toString
to eliminare the ambiguity