A module that provides type-safe ways to convert primitive types to String
.
> import Show
> Show.int 3
"3" : String
> Show.float Nothing 3.4
"3.4" : String
> Show.int 3.4
==================================== ERRORS ====================================
-- TYPE MISMATCH ---------------------------------------------
The argument to function `Show.int` is causing a mismatch.
4| Show.int 3.4
^^^
Function `Show.int` is expecting the argument to be:
Int
But it is:
Float
See the documentation.