[GHC] #16326: Implement visible dependent quantification

#16326: Implement visible dependent quantification -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 8.7 Keywords: GHCProposal | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: #15658 Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- GHC proposal 35 ([https://github.com/ghc-proposals/ghc- proposals/blob/master/proposals/0035-forall-arrow.rst A syntax for visible dependent quantification]) has been accepted. This ticket tracks its implementation. Along with implementing it, we should also document it in the users' guide (the subject of #15658). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16326 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16326: Implement visible dependent quantification -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 8.7 Resolution: | Keywords: GHCProposal Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #15658 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): What about GHC Proposal 81 [https://github.com/ghc-proposals/ghc- proposals/pull/81 Syntax for visible dependent quantification]. How do 35 and 81 relate? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16326#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16326: Implement visible dependent quantification -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: task | Status: new Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 8.7 Resolution: | Keywords: GHCProposal Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #15658 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): Those are the exact same thing. The link you gave is the pull request that was later assigned the number 35 in `ghc-proposals`' indexing scheme when it was merged. (The number 81 just means that it was the 81st pull request that the repo had in its history.) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16326#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16326: Implement visible dependent quantification -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: task | Status: patch Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 8.7 Resolution: | Keywords: GHCProposal Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #15658 | Differential Rev(s): Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/378 -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => patch * differential: => https://gitlab.haskell.org/ghc/ghc/merge_requests/378 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16326#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16326: Implement visible dependent quantification -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: task | Status: patch Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 8.7 Resolution: | Keywords: GHCProposal, | VisibleDependentQuantification Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #15658 | Differential Rev(s): Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/378 -------------------------------------+------------------------------------- Changes (by RyanGlScott): * keywords: GHCProposal => GHCProposal, VisibleDependentQuantification -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16326#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16326: Implement visible dependent quantification -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: task | Status: closed Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 8.7 Resolution: fixed | Keywords: GHCProposal, | VisibleDependentQuantification Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | dependent/should_compile/T16326_Compile{1,2}, | dependent/should_fail/T16326_Fail{1,2,3,4,5,6,7,8,9,10,11,12}, | th/T16326_TH Blocked By: | Blocking: Related Tickets: #15658 | Differential Rev(s): Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/378 -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: patch => closed * testcase: => dependent/should_compile/T16326_Compile{1,2}, dependent/should_fail/T16326_Fail{1,2,3,4,5,6,7,8,9,10,11,12}, th/T16326_TH * resolution: => fixed Comment: Landed in [https://gitlab.haskell.org/ghc/ghc/commit/c26d299dc422f43b8c37da4b26da2067ee... c26d299dc422f43b8c37da4b26da2067eedcbae8]. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16326#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16326: Implement visible dependent quantification
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: (none)
Type: task | Status: closed
Priority: normal | Milestone: 8.10.1
Component: Compiler | Version: 8.7
Resolution: fixed | Keywords: GHCProposal,
| VisibleDependentQuantification
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
| dependent/should_compile/T16326_Compile{1,2},
| dependent/should_fail/T16326_Fail{1,2,3,4,5,6,7,8,9,10,11,12},
| th/T16326_TH
Blocked By: | Blocking:
Related Tickets: #15658 | Differential Rev(s):
Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/378
-------------------------------------+-------------------------------------
Comment (by Marge Bot

#16326: Implement visible dependent quantification -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: task | Status: closed Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 8.7 Resolution: fixed | Keywords: GHCProposal, | VisibleDependentQuantification Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | dependent/should_compile/T16326_Compile{1,2}, | dependent/should_fail/T16326_Fail{1,2,3,4,5,6,7,8,9,10,11,12}, | th/T16326_TH Blocked By: | Blocking: Related Tickets: #15658 | Differential Rev(s): Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/378 -------------------------------------+------------------------------------- Comment (by goldfire): :) We discussed the possibility of allowing VDQ in visible type applications, and how this patch wouldn't do so. Is there a Trac ticket requesting this? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16326#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#16326: Implement visible dependent quantification -------------------------------------+------------------------------------- Reporter: RyanGlScott | Owner: (none) Type: task | Status: closed Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 8.7 Resolution: fixed | Keywords: GHCProposal, | VisibleDependentQuantification Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | dependent/should_compile/T16326_Compile{1,2}, | dependent/should_fail/T16326_Fail{1,2,3,4,5,6,7,8,9,10,11,12}, | th/T16326_TH Blocked By: | Blocking: Related Tickets: #15658 | Differential Rev(s): Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/378 -------------------------------------+------------------------------------- Comment (by RyanGlScott): Replying to [comment:7 goldfire]:
We discussed the possibility of allowing VDQ in visible type applications, and how this patch wouldn't do so. Is there a Trac ticket requesting this?
#16371. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16326#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC