Commit 48a72931 authored by Simon Marlow's avatar Simon Marlow
Browse files

Make showSDoc and printDoc use the same default width (100)

For some reason they were different (100/120), which made some tests
produce different output when I moved from showSDoc to printDoc for
error messages.
parent d502cd03
......@@ -994,7 +994,7 @@ spaces n | n <=# _ILIT(0) = ""
pprCols :: Int
pprCols = 120 -- could make configurable
pprCols = 100 -- could make configurable
-- NB. printDoc prints FastStrings in UTF-8: hPutFS below does no decoding.
-- This is what we usually want, because the IO library has no encoding
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment