Skip to content

:info (->) should list its fixity

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.)

Trac metadata
Trac field Value
Version 7.8.3
Type Bug
TypeOfFailure OtherFailure
Priority low
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC hvr, oerjan
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information