[GHC] #9819: Create typesafe method of obtaining dictionary types from class definitions, and constraint objects from dictionary types

GHC ghc-devs at haskell.org
Sun Nov 23 03:02:43 UTC 2014


#9819: Create typesafe method of obtaining dictionary types from class
definitions, and constraint objects from dictionary types
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:
  spacekitteh                        |           Status:  new
                  Type:  feature     |        Milestone:
  request                            |          Version:
              Priority:  normal      |         Keywords:
             Component:  Compiler    |     Architecture:  Unknown/Multiple
            Resolution:              |       Difficulty:  Moderate (less
      Operating System:              |  than a day)
  Unknown/Multiple                   |       Blocked By:
       Type of failure:              |  Related Tickets:
  None/Unknown                       |
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by spacekitteh):

 Essentially, I'm looking for a method to automate the process of defining
 the Def data function in the ReifiableConstraint class in here:
 https://www.fpcomplete.com/user/thoughtpolice/using-reflection#turning-up-
 the-magic-to-over-9000

 for arbitrary constraints.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9819#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list