[GHC] #10113: Re-export (<$>) from Prelude
#10113: Re-export (<$>) from Prelude -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: feature | Status: new request | Milestone: 7.10.1 Priority: highest | Version: 7.10.1-rc2 Component: | Operating System: Unknown/Multiple libraries/base | Type of failure: None/Unknown Keywords: AMP | Blocked By: Architecture: | Related Tickets: #4834 Unknown/Multiple | Test Case: | Blocking: | Differential Revisions: Phab:D680 | -------------------------------------+------------------------------------- See http://thread.gmane.org/gmane.comp.lang.haskell.libraries/24161 for details decision is still outstanding, but this needs to go into RC3 unless there's good reasons not to -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10113> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10113: Re-export (<$>) from Prelude -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: feature request | Status: new Priority: highest | Milestone: 7.10.1 Component: libraries/base | Version: 7.10.1-rc2 Resolution: | Keywords: AMP Operating System: Unknown/Multiple | report-impact Type of failure: None/Unknown | Architecture: Blocked By: | Unknown/Multiple Related Tickets: #4834 | Test Case: | Blocking: | Differential Revisions: Phab:D680 -------------------------------------+------------------------------------- Changes (by hvr): * keywords: AMP => AMP report-impact -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10113#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10113: Re-export (<$>) from Prelude -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: feature request | Status: new Priority: highest | Milestone: 7.10.1 Component: libraries/base | Version: 7.10.1-rc2 Resolution: | Keywords: AMP Operating System: Unknown/Multiple | report-impact Type of failure: None/Unknown | Architecture: Blocked By: | Unknown/Multiple Related Tickets: #4834 | Test Case: | Blocking: | Differential Revisions: Phab:D680 -------------------------------------+------------------------------------- Comment (by Herbert Valerio Riedel <hvr@…>): In [changeset:"eb3661f2b9f8472f3714774126ebe1183484dd85/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="eb3661f2b9f8472f3714774126ebe1183484dd85" Re-export `<$>` from Prelude (#10113) Whether to re-export the `<$>` non-method operator from `Prelude` wasn't explicitly covered in the original AMP proposal[1], but it turns out that not doing so forces most code that makes use of applicatives to import `Data.Functor` or `Control.Applicative` just to get that operator into scope. To this end, it was proposed to add `<$>` to Prelude as well[2]. The down-side is that this increases the amount of redundant-import warnings triggered, as well as the relatively minor issue of stealing the `<$>` operator from the default namespace for good (although at this point `<$>` is supposed to be ubiquitous anyway due to `Applicative` being implicitly required into the next Haskell Report) [1]: https://wiki.haskell.org/Functor-Applicative-Monad_Proposal [2]: http://thread.gmane.org/gmane.comp.lang.haskell.libraries/24161 Reviewed By: austin, ekmett Differential Revision: https://phabricator.haskell.org/D680 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10113#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10113: Re-export (<$>) from Prelude -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: feature request | Status: new Priority: highest | Milestone: 7.10.1 Component: libraries/base | Version: 7.10.1-rc2 Resolution: | Keywords: AMP Operating System: Unknown/Multiple | report-impact Type of failure: None/Unknown | Architecture: Blocked By: | Unknown/Multiple Related Tickets: #4834 | Test Case: | Blocking: | Differential Revisions: Phab:D680 -------------------------------------+------------------------------------- Comment (by Herbert Valerio Riedel <hvr@…>): In [changeset:"479523f3c37894d63352f1718e06696f3ed63143/ghc"]: {{{ #!CommitTicketReference repository="ghc" revision="479523f3c37894d63352f1718e06696f3ed63143" Re-export `<$` from Prelude (#10113) This is a follow-up to eb3661f2b9f8472f3714774126ebe1183484dd85 re-exporting `<$` from `Prelude` as well. Reviewed By: austin, ekmett Differential Revision: https://phabricator.haskell.org/D681 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10113#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10113: Re-export (<$>) and (<$) from Prelude -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: feature request | Status: new Priority: highest | Milestone: 7.10.1 Component: libraries/base | Version: 7.10.1-rc2 Resolution: | Keywords: AMP Operating System: Unknown/Multiple | report-impact Type of failure: None/Unknown | Architecture: Blocked By: | Unknown/Multiple Related Tickets: #4834 | Test Case: | Blocking: | Differential Revisions: Phab:D680 -------------------------------------+------------------------------------- Comment (by hvr): This was also merged to ghc-7.10 via dc737056fd66f6033cf6b7089a8508b62ab2eeb1 and 8601c74450a2a079ab1a8b67f18b503fae5b057b respectively -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10113#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10113: Re-export (<$>) and (<$) from Prelude -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: feature request | Status: merge Priority: highest | Milestone: 7.10.1 Component: libraries/base | Version: 7.10.1-rc2 Resolution: | Keywords: AMP Operating System: Unknown/Multiple | report-impact Type of failure: None/Unknown | Architecture: Blocked By: | Unknown/Multiple Related Tickets: #4834 | Test Case: | Blocking: | Differential Revisions: Phab:D680 -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: new => merge -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10113#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10113: Re-export (<$>) and (<$) from Prelude -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: feature request | Status: closed Priority: highest | Milestone: 7.10.1 Component: libraries/base | Version: 7.10.1-rc2 Resolution: fixed | Keywords: AMP Operating System: Unknown/Multiple | report-impact Type of failure: None/Unknown | Architecture: Blocked By: | Unknown/Multiple Related Tickets: #4834 | Test Case: | Blocking: | Differential Revisions: Phab:D680 -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: merge => closed * resolution: => fixed Comment: Merged, thanks Herbert. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10113#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC