alexeevg / ipprint

Tiny helper for pretty-printing values in ghci console

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

left alignment

flip111 opened this issue · comments

λ> IPPrint.pshow 2
    "    2"
it :: String
λ> "hello"
    "hello"
it :: [Char]

I noticed that pshow adds 4 spaces in front of the value, i'm used to the value being aligned to the left of the terminal. Is there any way to not have it print with 4 spaces in front of the value?

Eh just after posting i saw there is now a new package: pretty-show. I will have a look at that. This library was mentioned here https://www.reddit.com/r/haskell/comments/144biy/pretty_output_in_ghci_howto_in_comments/