[GHC] #9636: Function with type error accepted

GHC ghc-devs at haskell.org
Fri Oct 17 16:57:27 UTC 2014


#9636: Function with type error accepted
-------------------------------------+-------------------------------------
              Reporter:  augustss    |            Owner:
                  Type:  bug         |           Status:  new
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:              |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
Changes (by adamgundry):

 * cc: adamgundry (added)


Comment:

 Type families as currently implemented really are axiomatically-defined
 functional relations: we don't have an operational semantics for them as
 functions. I agree that being able to write actual functional programs at
 the type level would be nice, but we can't yet.

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


More information about the ghc-tickets mailing list