AJChapman / formatting

Format strings type-safely with combinators
BSD 3-Clause "New" or "Revised" License
164 stars 39 forks source link

Adding a ‘fprint’ that prints newline #24

Closed Icelandjack closed 7 years ago

Icelandjack commented 8 years ago

Is adding

fprintLn :: Format (IO ()) a -> a
fprintLn fmt = fprint (fmt % "\n")

worth it? Have I asked this question before?

chrisdone commented 7 years ago

Yeah, that's worth it.