seeking papers with good examples of the use of GADTs
I have a class of beginning functional programmers; we're approaching end of term, and I'd like them to learn about GADTs. One of my goals in the class is to give students practice learning by reading papers, so I am asking for recommendations of papers that have good examples of GADTs in action. Papers I've used in the past have included Pottier and Gauthier 2005: Polymorphic Typed Defunctionalization and Concretization, in Higher-Order and Symbolic Computation Pottier and Régis-Gianas 2006: Towards Efficient, Typed LR Parsers, in Electr. Notes Theor. Comput. Sci and Peyton Jones et al. 2006: Simple unification-based type inference for GADTs, in the 11th ACM SIGPLAN International Conference on Functional Programming. Unfortunately the first two rely on concepts in which my students have little background (LR parsing and defunctionalization respectively), and the the third, while it opens with a nice example, is primarily about the (now obsolete) type-inference algorithm, rather than about how to use GADTs. I am hoping some of you may have suggestions about other papers that would be good tutorials in the use of GADTs. Norman
Norman Ramsey wrote:
I am hoping some of you may have suggestions about other papers that would be good tutorials in the use of GADTs.
There are more suggestions here: http://www.haskell.org/haskellwiki/Research_papers/Type_systems#Generalised_... And do they have to be papers? Because there is also the wiki page: http://www.haskell.org/haskellwiki/Generalised_algebraic_datatype Hope this helps, Martijn.
Hello Norman, Saturday, April 11, 2009, 12:55:30 AM, you wrote: http://haskell.org/haskellwiki/GADTs_for_dummies#Further_reading
I have a class of beginning functional programmers; we're approaching end of term, and I'd like them to learn about GADTs. One of my goals in the class is to give students practice learning by reading papers, so I am asking for recommendations of papers that have good examples of GADTs in action. Papers I've used in the past have included
Pottier and Gauthier 2005: Polymorphic Typed Defunctionalization and Concretization, in Higher-Order and Symbolic Computation
Pottier and Rйgis-Gianas 2006: Towards Efficient, Typed LR Parsers, in Electr. Notes Theor. Comput. Sci
and
Peyton Jones et al. 2006: Simple unification-based type inference for GADTs, in the 11th ACM SIGPLAN International Conference on Functional Programming.
Unfortunately the first two rely on concepts in which my students have little background (LR parsing and defunctionalization respectively), and the the third, while it opens with a nice example, is primarily about the (now obsolete) type-inference algorithm, rather than about how to use GADTs.
I am hoping some of you may have suggestions about other papers that would be good tutorials in the use of GADTs.
Norman
_______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
-- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com
I am hoping some of you may have suggestions about other papers that would be good tutorials in the use of GADTs.
Norman
Norman, This is very much in a state of flux but it may be worth taking a look at http://code.haskell.org/asn1/ASNTYPE.lhs. There's also http://www.haskell.org/haskellwiki/QuickCheck_/_GADT which may be of interest. Dominic.
participants (4)
-
Bulat Ziganshin -
Dominic Steinitz -
Martijn van Steenbergen -
nr@cs.tufts.edu