Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#10145 closed bug (fixed)

:info (->) should list its fixity

Reported by: oerjan Owned by: phadej
Priority: low Milestone: 8.0.1
Component: GHCi Version: 7.8.3
Keywords: newcomer Cc: oerjan, hvr
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Documentation bug Test Case: ghci/should_run/T10145
Blocked By: Blocking:
Related Tickets: Differential Rev(s): Phab:D741
Wiki Page:


The GHC manual states:

  • Function arrow is infixr with fixity 0. (This might change; I'm not sure what it should be.)

Since this isn't the default infixl 9, it should be listed when you do :info (->), but currently (at least in 7.8.3) isn't.

(Inspired by this Stackoverflow question.)

Change History (6)

comment:1 Changed 4 years ago by goldfire

Keywords: newcomer added

comment:2 Changed 4 years ago by phadej

Differential Rev(s): Phab:D741
Owner: set to phadej

comment:3 Changed 3 years ago by Thomas Miedema <thomasmiedema@…>

In 0721e552b863c28ffb5920c70b208947831c3dc2/ghc:

Fake (->) fixity declaration (#10145)

Reviewed By: simonpj, austin

Differential Revision:

comment:4 Changed 3 years ago by thomie

Milestone: 7.12.1
Test Case: ghci/should_run/T10145


comment:5 Changed 3 years ago by thomie

Resolution: fixed
Status: newclosed

comment:6 Changed 3 years ago by thoughtpolice


Milestone renamed

Note: See TracTickets for help on using tickets.