Is there a library function to put commas into numbers with Haskell? I can't find one for the life of me.
I want a function that would work something like this:
format 1000000 = "1,000,000"
format 1045.31 = "1,045.31"
but I can't seem to find any number formatting functions of this type in Haskell. Where are the number formatting functions?