Safe Haskell | Safe-Inferred |
---|
This is based on gleb.alexeev@gmail.com's ipprint package on hackage.
I'm not just using it directly because I want to pass custom formatting flags because my terminal is 80 chars wide, not the 137-whatever default.
Documentation
format_str :: String -> String Source #
Pretty up haskell value, unless it's a string, in which case return it directly.
Previously I needed this in the REPL since it didn't have a way to say text should be unformatted. I don't need it any more, but it doesn't seem to be hurting so I'll leave it here for now.