Pattern matching of indexed data types
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Wed, 20 Sep 2006 18:37:17 +0000 (18:37 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Wed, 20 Sep 2006 18:37:17 +0000 (18:37 +0000)
commit6791ad226806d7b4e7618c91516e9e20be882813
treee5aec5b14b4b44eeb21553eeded22d21d773e9d8
parent909d2dd885f5eebaf7c12cf15d5ac153d646566e
Pattern matching of indexed data types
Mon Sep 18 19:11:24 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
  * Pattern matching of indexed data types
  Thu Aug 24 14:17:44 EDT 2006  Manuel M T Chakravarty <chak@cse.unsw.edu.au>
    * Pattern matching of indexed data types
    - This patch is the last major puzzle piece to type check and desugar indexed
      data types (both toplevel and associated with a class).
    - However, it needs more testing - esp wrt to accumlating CoPats - and some
      static sanity checks for data instance declarations are still missing.
    - There are now two detailed notes in MkIds and TcPat on how the worker/wrapper
      and coercion story for indexed data types works.
compiler/basicTypes/MkId.lhs
compiler/basicTypes/OccName.lhs
compiler/typecheck/TcPat.lhs
compiler/types/Coercion.lhs