TypeFamilies vs. FunctionalDependencies & type-level recursion

Simon Peyton-Jones simonpj at microsoft.com
Thu Jun 7 14:56:29 CEST 2012

I have expanded the draft spec on
to answer some of the questions on AntC's discussion page.

From: haskell-prime-bounces at haskell.org [mailto:haskell-prime-bounces at haskell.org] On Behalf Of José Pedro Magalhães
Sent: 29 May 2012 11:14
To: AntC
Cc: haskell-prime at haskell.org
Subject: Re: TypeFamilies vs. FunctionalDependencies & type-level recursion

On Tue, May 29, 2012 at 11:03 AM, AntC <anthony_clayden at clear.net.nz<mailto:anthony_clayden at clear.net.nz>> wrote:
Simon Peyton-Jones <simonpj at ...<mailto:simonpj at ...>> writes:

> See also http://hackage.haskell.org/trac/ghc/wiki/NewAxioms
> (as yet unimplemented)
> Simon
Thank you Simon (and Pedro).

Are you inviting comment/suggestions/requests for clarification at this stage?

Definitely! I think the design space should be explored in detail.

There is plenty of prior work/similar ideas to include in the references.

That document is not a paper draft; it's a draft of a design of a new GHC extension.

How's the best way to help? (Without unleashing a maelstrom.)

Perhaps having a wiki page where the problem of OverlappingInstances is discussed, and alternative solutions are proposed, so that at some point we can look at all of them and try to make an informed decision. I think it's good to have a wiki page to guide this sort of email discussion.



Haskell-prime mailing list
Haskell-prime at haskell.org<mailto:Haskell-prime at haskell.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-prime/attachments/20120607/e003410c/attachment.htm>

More information about the Haskell-prime mailing list