[GHC] #14268: Implement Explicit Foralls Proposal
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 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: -------------------------------------+------------------------------------- Implement Richard Eisenberg's Explicit Foralls proposal. https://github.com/ghc-proposals/ghc-proposals/pull/55 For details see the proposal: https://github.com/goldfirere/ghc-proposals/blob/instance- forall/proposals/0000-instance-foralls.rst -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: johnleo Type: task | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by johnleo): * owner: (none) => johnleo * cc: goldfire (added) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: johnleo Type: task | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #13809 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * cc: RyanGlScott (added) * related: => #13809 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: johnleo Type: task | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #13809 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): For the record, John and I have been collaborating behind the scenes on this one. He's not stealing this from me! :) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: johnleo Type: task | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #13809 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by johnleo: Old description:
Implement Richard Eisenberg's Explicit Foralls proposal. https://github.com/ghc-proposals/ghc-proposals/pull/55
For details see the proposal: https://github.com/goldfirere/ghc-proposals/blob/instance- forall/proposals/0000-instance-foralls.rst
New description: Implement Richard Eisenberg's Explicit Foralls proposal. https://github.com/ghc-proposals/ghc-proposals/pull/55 For details see the proposal: https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0007 -instance-foralls.rst -- -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: johnleo Type: task | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #13809 | Differential Rev(s): D4046 Wiki Page: | -------------------------------------+------------------------------------- Changes (by johnleo): * differential: => D4046 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:5> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: johnleo Type: task | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #13809 | Differential Rev(s): Phab:D4046 Wiki Page: | -------------------------------------+------------------------------------- Changes (by johnleo): * differential: D4046 => Phab:D4046 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:6> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: johnleo Type: task | Status: new Priority: normal | Milestone: 8.6.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: GHCProposal Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: 13809, 14198 Related Tickets: #13809 | Differential Rev(s): Phab:D4046 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * keywords: => GHCProposal -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:10> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: GHCProposal Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: 13809, 14198 Related Tickets: #13809 | Differential Rev(s): Phab:D4046 Wiki Page: | -------------------------------------+------------------------------------- Changes (by johnleo): * cc: johnleo (added) * owner: johnleo => (none) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:12> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: GHCProposal Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: 13809, 14198 Related Tickets: #13809 | Differential Rev(s): Phab:D4046 Wiki Page: | -------------------------------------+------------------------------------- Comment (by johnleo): Richard Eisenberg and his students will be taking over this task. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:13> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: mayac Type: task | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: GHCProposal Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: 13809, 14198 Related Tickets: #13809 | Differential Rev(s): Phab:D4894 Wiki Page: | -------------------------------------+------------------------------------- Changes (by mayac): * owner: (none) => mayac * differential: Phab:D4046 => Phab:D4894 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:14> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: mayac Type: task | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: GHCProposal Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: 13809, 14198 Related Tickets: #11719, #13809 | Differential Rev(s): Phab:D4894 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * related: #13809 => #11719, #13809 Comment: This feature will make #11719 less annoying to work around. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:15> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: mayac Type: task | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: GHCProposal Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: 13809, 14198 Related Tickets: #11719, #13809 | Differential Rev(s): Phab:D4894 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Richard Eisenberg <rae@…>): In [changeset:"512eeb9bb9a81e915bfab25ca16bc87c62252064/ghc" 512eeb9/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="512eeb9bb9a81e915bfab25ca16bc87c62252064" More explicit foralls (GHC Proposal 0007) Allow the user to explicitly bind type/kind variables in type and data family instances (including associated instances), closed type family equations, and RULES pragmas. Follows the specification of GHC Proposal 0007, also fixes #2600. Advised by Richard Eisenberg. This modifies the Template Haskell AST -- old code may break! Other Changes: - convert HsRule to a record - make rnHsSigWcType more general - add repMaybe to DsMeta Includes submodule update for Haddock. Test Plan: validate Reviewers: goldfire, bgamari, alanz Subscribers: simonpj, RyanGlScott, goldfire, rwbarton, thomie, mpickering, carter GHC Trac Issues: #2600, #14268 Differential Revision: https://phabricator.haskell.org/D4894 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:16> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#14268: Implement Explicit Foralls Proposal -------------------------------------+------------------------------------- Reporter: johnleo | Owner: mayac Type: task | Status: closed Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 8.2.1 Resolution: fixed | Keywords: GHCProposal Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: 13809, 14198 Related Tickets: #11719, #13809 | Differential Rev(s): Phab:D4894 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => fixed Comment: This is now fixed. Thanks, mayac! -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14268#comment:17> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC