behavior change of the pretty printer
31 Jul
2015
31 Jul
'15
1:25 p.m.
Hi, Testing a package with GHC head on Travis CI, I got the following error: ---- expected: Just (HTTPDate {hdYear = 1994, hdMonth = 11, hdDay = 15, hdHour = 8, hdMinute = 12, hdSecond = 31, hdWkday = 2}) but got: Just HTTPDate {hdYear = 1994, hdMonth = 11, hdDay = 15, hdHour = 8, hdMinute = 12, hdSecond = 31, hdWkday = 2} ---- That is, parentheses are not printed. Is this an intentional change of GHC head? --Kazu
31 Jul
31 Jul
1:45 p.m.
Yes, it is intentional. See https://ghc.haskell.org/trac/ghc/ticket/2530
7:25 p.m.
Thomas,
Yes, it is intentional. See https://ghc.haskell.org/trac/ghc/ticket/2530
Thank you for this information. --Kazu
3821
Age (days ago)
3821
Last active (days ago)
2 comments
2 participants
participants (2)
-
Kazu Yamamoto -
Thomas Miedema