As suggested by @natefaubion here. /cc @hdgarrood
It would be interesting to have a few basic functions for converting Numbers to a String.
There are several packages dealing with (pretty) printing of numbers already:
In my opinion, merging purescript-number-format into this package or implementing a similar functionality would be the best option. The API of purescript-format is probably "too opinionated" for a low-level module like this.
What do you think?
As suggested by @natefaubion here. /cc @hdgarrood
It would be interesting to have a few basic functions for converting
Numbers to aString.There are several packages dealing with (pretty) printing of numbers already:
toExponential,toFixed,toPrecision) and defines a few convenient helper functions (toString,toHexString, ..).Monoid-based interface for defining the style.In my opinion, merging purescript-number-format into this package or implementing a similar functionality would be the best option. The API of purescript-format is probably "too opinionated" for a low-level module like this.
What do you think?