GADTs in the wild

José Pedro Magalhães jpm at cs.uu.nl
Thu Aug 16 10:16:58 CEST 2012


Simon,

We rely extensively on GADTs for modelling musical harmony in HarmTrace:

PDF: http://www.dreixel.net/research/pdf/fmmh.pdf
Hackage: http://hackage.haskell.org/package/HarmTrace

Not entirely sure it passes (c), though.


Cheers,
Pedro

On Tue, Aug 14, 2012 at 1:32 PM, Simon Peyton-Jones
<simonpj at microsoft.com>wrote:

>  Friends****
>
>
> I’m giving a series of five lectures at the Laser Summer School<http://laser.inf.ethz.ch/2012/>(2-8 Sept), on “Adventures with types in Haskell”.  My plan is:
> ****
>
> **1.   **Type classes****
>
> **2.   **Type families [examples including Repa type tags]****
>
> **3.   **GADTs****
>
> **4.   **Kind polymorphism****
>
> **5.   **System FC and deferred type errors****
>
> ** **
>
> This message is to invite you to send me your favourite example of using a
> GADT to get the job done.  Ideally I’d like to use examples that are (a)
> realistic, drawn from practice (b) compelling and (c) easy to present
> without a lot of background.  Most academic papers only have rather limited
> examples, usually eval :: Term t -> t, but I know that GADTs are widely
> used in practice.****
>
> ** **
>
> Any ideas from your experience, satisfying (a-c)?  If so, and you can
> spare the time, do send me a short write-up. Copy the list, so that we can
> all benefit.****
>
> ** **
>
> Many thanks****
>
>
> Simon****
>
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20120816/2c41df72/attachment.htm>


More information about the Glasgow-haskell-users mailing list