[GHC] #9064: Support default class method signatures in Template Haskell

#9064: Support default class method signatures in Template Haskell ------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: feature request | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.8.2 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- If I say {{{ blah = [d| class C a where foo :: a -> String default foo :: Show a => a -> String foo = show |] }}} I get {{{ Illegal default signature for ‘[foo]’ Default signatures are not supported by Template Haskell }}} I would like this feature. I will implement this in due course. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9064 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9064: Support default class method signatures in Template Haskell -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: feature | Status: new request | Milestone: Priority: normal | Version: 7.8.2 Component: Template | Keywords: Haskell | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: Type of failure: | None/Unknown | Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by goldfire): See [wiki:Design/TemplateHaskellGADTs] for a related change to the `Dec` type I'd like feedback on. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9064#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9064: Support default class method signatures in Template Haskell -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: feature | Status: patch request | Milestone: Priority: normal | Version: 7.8.2 Component: Template | Keywords: Haskell | Architecture: Unknown/Multiple Resolution: | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: Type of failure: | None/Unknown | Test Case: | Blocking: | Differential Revisions: Phab:D440 | -------------------------------------+------------------------------------- Changes (by goldfire): * status: new => patch * differential: => Phab:D440 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9064#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9064: Support default class method signatures in Template Haskell
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner: goldfire
Type: feature | Status: patch
request | Milestone:
Priority: normal | Version: 7.8.2
Component: Template | Keywords:
Haskell | Architecture: Unknown/Multiple
Resolution: | Difficulty: Unknown
Operating System: | Blocked By:
Unknown/Multiple | Related Tickets:
Type of failure: |
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: Phab:D440 |
-------------------------------------+-------------------------------------
Comment (by Richard Eisenberg

#9064: Support default class method signatures in Template Haskell
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner: goldfire
Type: feature | Status: patch
request | Milestone:
Priority: normal | Version: 7.8.2
Component: Template | Keywords:
Haskell | Architecture: Unknown/Multiple
Resolution: | Difficulty: Unknown
Operating System: | Blocked By:
Unknown/Multiple | Related Tickets:
Type of failure: |
None/Unknown |
Test Case: |
Blocking: |
Differential Revisions: Phab:D440 |
-------------------------------------+-------------------------------------
Comment (by Richard Eisenberg

#9064: Support default class method signatures in Template Haskell -------------------------------------+------------------------------------- Reporter: goldfire | Owner: goldfire Type: feature | Status: closed request | Milestone: Priority: normal | Version: 7.8.2 Component: Template | Keywords: Haskell | Architecture: Unknown/Multiple Resolution: fixed | Difficulty: Unknown Operating System: | Blocked By: Unknown/Multiple | Related Tickets: Type of failure: | None/Unknown | Test Case: th/T9064 | Blocking: | Differential Revisions: Phab:D440 | -------------------------------------+------------------------------------- Changes (by goldfire): * status: patch => closed * testcase: => th/T9064 * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9064#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9064: Support default class method signatures in Template Haskell
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner: goldfire
Type: feature | Status: closed
request | Milestone:
Priority: normal | Version: 7.8.2
Component: Template | Keywords:
Haskell | Architecture: Unknown/Multiple
Resolution: fixed | Difficulty: Unknown
Operating System: | Blocked By:
Unknown/Multiple | Related Tickets:
Type of failure: |
None/Unknown |
Test Case: th/T9064 |
Blocking: |
Differential Revisions: Phab:D440 |
-------------------------------------+-------------------------------------
Comment (by Richard Eisenberg
participants (1)
-
GHC