This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
A module that provides type-safe ways to convert primitive types to String.
version 1.0.0
license MIT
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2018-02-08 13:57:03 UTC
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1

Modules

README

elm-show

Build Status

Summary

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

Details

See the documentation.