Re: [GHC] #6018: Injective type families

#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:52 goldfire]:
Here, "head" means the head of the RHS type, not the type declaration -- it's the root of the type's AST. Does that help? Yes, now I fully understand.
Also, if I understood correctly it is possible to have both injectivity and head-injectivity in the compiler, right? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/6018#comment:53 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC