Re: [GHC] #6018: Injective type families

Replying to [comment:49 jstolarek]:
I don't think that restricting the use of `result` word in type family
#6018: Injective type families -------------------------------------+------------------------------------- Reporter: lunaris | Owner: jstolarek Type: feature | Status: new request | Milestone: 7.10.1 Priority: normal | Version: 7.4.1 Component: Compiler | Keywords: TypeFamilies, Resolution: | Injective Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Unknown Type of failure: | Blocked By: None/Unknown | Related Tickets: #4259 Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Comment (by jstolarek): Replying to [comment:51 goldfire]: head is a big problem - we've already done that with `role`.
The use of `role` doesn't steal syntax: it can be used only after the
word `type` in a top-level declaration, where a capitalized identifier is expected. Oops, sorry for defamation then ;-) Still, I think that the price to pay for using `result` will not be that high. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/6018#comment:54 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC