[GHC] #15236: GHCi pretty-prints (->)'s fixity poorly
GHC
ghc-devs at haskell.org
Wed Jun 6 13:55:20 UTC 2018
#15236: GHCi pretty-prints (->)'s fixity poorly
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.4.3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Consider the following GHCi session:
{{{
$ ghci
GHCi, version 8.4.3: http://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from /home/rgscott/.ghci
λ> :i (->)
data (->) (a :: TYPE q) (b :: TYPE r) -- Defined in ‘GHC.Prim’
infixr 0 `(->)`
<instances elided>
}}}
Notice that it prints:
{{{
`(->)`
}}}
Which is totally wrong. This should simply be `->`. Patch incoming.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15236>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list