Re: [GHC] #2947: infix precedence of backtick functions defined in ghci is not reported by :info
#2947: infix precedence of backtick functions defined in ghci is not reported by :info -------------------------------------+--------------------------------- Reporter: EyalLotem | Owner: pcapriotti Type: bug | Status: closed Priority: lowest | Milestone: 7.6.1 Component: GHCi | Version: 6.10.1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | -------------------------------------+--------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"e809ef57d841695f76ab9b2758f7aeb774d6b223/ghc" e809ef5/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="e809ef57d841695f76ab9b2758f7aeb774d6b223" ghci: fixity declarations for infix data constructors (#10018) Declaring a custom fixity for an infix data constructor should work: Prelude> data Infix a b = a :@: b; infixl 4 :@: This is a followup to #2947, which handled fixity declarations in ghci statements (e.g. let add = (+); infixl 6 `add`). Support for declarations (data, type, newtype, class, instance, deriving, and foreign) was added to GHCi in #4929. Reviewers: simonpj, austin, thomie Subscribers: thomie, bgamari Differential Revision: https://phabricator.haskell.org/D1028 GHC Trac Issues: #10018 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/2947#comment:19> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC