Skip to content

arowM/elm-show

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A module that provides type-safe ways to convert primitive types to String.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages