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

Efficient conversion of values into Text

Results 5 text-show issues
Sort by recently updated
recently updated
newest added

By a series unusual circumstances, I generate all of the code used for generically implementing `showbPrec`, `showtPrec`, and `showtlPrec`... using _CPP_. And it's [seriously ugly](https://github.com/RyanGlScott/text-show/blob/91f282857c8f186cb1b59290ff8d7ad3ad2e8121/src/TextShow/Generic.hs#L338-L536). We should replace this with...

enhancement

Compiling `text-show` on GHC 8.0 and 8.2 has a tendency to exhaust the simplifier ticks. (See 0cba20205cfabead51d868ebc772a52971fb4027 and #50 for examples of this.) Rather than blindly increase the simplifier tick...

Commit d415acfb7f63c11b78e234b8db3adc1d077a0860 adds `TextShow(1)` instances for `Solo`, but only when building against `ghc-prim-0.7` or later. Ideally, we would depend on `base-compat-batteries-0.12.1` or later to avoid needing this CPP. Let's do...

enhancement

This fixes the following build error with GHC 9.11.20240512. ``` [49 of 67] Compiling TextShow.GHC.RTS.Flags ( src/TextShow/GHC/RTS/Flags.hs, /Users/ianwookim/repo/mercury/mwb-on-ghcHEAD/20240506/mwb-20240506/dist-newstyle/build/aarch64-osx/ghc-9.11.20240512/text-show-3.10.5/noopt/build/TextShow/GHC/RTS/Flags.dyn_o ) src/TextShow/GHC/RTS/Flags.hs:53:2: error: [GHC-39999] • No instance for ‘TextShow.Classes.TextShow IoManagerFlag’ arising from...

To demonstrate the problem, let's intentionally introduce a bug: ```diff diff --git a/src/TextShow/Data/Functor/Identity.hs b/src/TextShow/Data/Functor/Identity.hs index 1c69008..b10bc81 100644 --- a/src/TextShow/Data/Functor/Identity.hs +++ b/src/TextShow/Data/Functor/Identity.hs @@ -27,5 +27,5 @@ instance TextShow a => TextShow...

bug
test-suite