Created
May 10, 2016 23:40
-
-
Save liamcurry/d1e12783b4f5d0a9c8fbe8b005743f5c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Html exposing (text) | |
import Json.Decode exposing (decodeString, int) | |
-- this won't work | |
i : String | |
i = | |
"726826386187374600" | |
main = | |
i | |
|> decodeString int | |
|> toString | |
|> text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment