Last active
August 16, 2019 00:10
-
-
Save jabaraster/6463253ffd78083dc2516092d25a6a86 to your computer and use it in GitHub Desktop.
comma format for Int by Elm. required 'elm-community/list-split'
This file contains 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
String.join "," << List.reverse << List.map String.fromList << List.Split.chunksOfRight 3 << String.toList << String.fromInt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment