pretty-simple icon indicating copy to clipboard operation
pretty-simple copied to clipboard

pretty-printer for Haskell data types that have a Show instance

Results 21 pretty-simple issues
Sort by recently updated
recently updated
newest added

Currently, the custom Setup.hs used for doctests causes cross-compilation to fail due to a [loingstanding cabal bug](https://github.com/haskell/cabal/issues/1493). I set `write-ghc-environment-files` to `always` in my [`cabal.project`](https://hub.darcs.net/vmchale/recursion/browse/cabal.project#3) and then just run `doctest`...

As far as I understood `pHPrint` prints `eoln` at the end using `putStrLn`, not in handle. It was very suprising for me. Why it's do so? Is it a bug...

bug

See https://github.com/cdepillabout/pretty-simple/issues/82#issuecomment-921094150. This is really just a placeholder. Until we have a new approach to doctests, this serves as a branch to point to for projects where I need to...

Oh, and I realized that currently `pretty-simple` doesn't parse and pretty-print lazily with the compact option: ```haskell > pPrintOpt CheckColorTty defaultOutputOptionsDarkBg { outputOptionsCompact = True } (repeat 3) ``` This...

I'm using a custom pPrintOpt config which looks like this: ``` pPrint :: (Show a) => a -> IO () pPrint = pPrintOpt CheckColorTty (defaultOutputOptionsDarkBg {outputOptionsCompact=True,outputOptionsPageWidth=60}) ``` I'm getting some...

high priority

I have pretty-simple set as the default printer for my project by putting the following in my .ghci file at the root of the project: ``` :set -ignore-package pretty-simple -package...

As originally mentioned in #93 it would be convenient if `Text.Pretty.Simple` provided: ```haskell pPrintCompact = pPrintOpt CheckColorTty (defaultOutputOptionsDarkBg {outputOptionsCompact = True, outputOptionsCompactParens = True}) ``` and I suppose correspondingly: ```haskell...

The [web](https://github.com/cdepillabout/pretty-simple/tree/web) branch contains [Miso](https://haskell-miso.org/) code for generating the app currently deployed at https://georgefst.github.io/pretty-simple. This is really just a proof of concept. Places to improve: - [x] General prettiness -...

Ended up writing a fix for #39, to help with a script I was writing this afternoon. Not quite sure about the details of the API yet. Tests expected to...

I use a light background for my terminal, so using pStringLightBg would be more useful in my case. I was thinking an executable flag, but maybe a better option would...

enhancement
help wanted
beginner-friendly