cdepillabout / cdepillabout/pretty-simple
document how to use pretty-simple as default ghci printer
- Dominant language
- Haskell
- Stars
- 260
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
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 pretty-simple
:def! pretty \ _ -> pure ":set -interactive-print Text.Pretty.Simple.pPrint"
:pretty
```
How can I also enable the compact output option for the default printer?
Thanks a lot.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the .ghci configuration shown in the issue and the Text.Pretty.Simple.pPrint entry point. Determine how the compact output option is enabled for the interactive printer, then document the working configuration and confirm that GHCi produces compact output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100