text-format icon indicating copy to clipboard operation
text-format copied to clipboard

Documentation for Format strings

Open dagit opened this issue 12 years ago • 7 comments

Where is the documentation for what is/isn't a valid format string?

From the example in the haddocks I was able to infer that "{}" gets replaced, but is that all there is to it?

dagit avatar Jan 08 '14 22:01 dagit

@bos Would you consider adding an example of using that example format string to do ... whever it is that this does? The bridge between Params and your various Builders isn't obvious.

[All I know about this library is that @chrisdone's formatting uses it :)]

AfC

istathar avatar Jul 21 '14 01:07 istathar

I need proper documentation, too. It's practically useless without it.

debug-ito avatar Feb 11 '15 13:02 debug-ito

I hate to be negative but when we say that haskell lacks documentation in general here is a shiny proof :-(

PierreR avatar Jun 24 '15 16:06 PierreR

This issue now nearly 4 years old and still not addressed. Steer clear of this library, you'll waste a load of time fiddling around and then just go back to using <> when it refuses to compile

JonnyRa avatar Dec 18 '17 17:12 JonnyRa

@chrisdone do you still need the dependency on text-format? It seems unmaintained.

istathar avatar Dec 20 '17 00:12 istathar

@afcowie

I could fold this package into formatting and drop the double-conversion dependency.

chrisdone avatar Dec 20 '17 11:12 chrisdone

formatting-6.3.0 now contains a reduced down copy of text-format without the double-conversion dependency.

http://hackage.haskell.org/package/formatting-6.3.0/changelog

chrisdone avatar Dec 20 '17 14:12 chrisdone