Changes between Version 184 and Version 185 of TypeFunctionsStatus
- Timestamp:
- 08/30/07 07:52:47 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TypeFunctionsStatus
v184 v185 4 4 5 5 '''Debugging of type family patch:''' 6 0. Add missing formation checks.7 6 0. `boxySplitTyConApp` and friends must be able to deal with `orig_ty`s that have outermost type family applications; i.e., they need to try to normalise and possibly have to defer. They also need to defer on skolems. Consequently, they also need to return a coercion. This , in particular, affects the treatment of literal lists, parallel arrays, and tuples in`TcExpr.tcExpr` is fishy. 8 7 0. Fix export list problem (ie, export of data constructors introduced by orphan data instances): … … 44 43 45 44 Todo (low-level): 46 * Enforce syntactic constraints on type instances needed to ensure the termination of constraint entailment checking.47 45 * Allow data family GADT instances. 48 46 * Deriving `Typeable` for data families. … … 50 48 51 49 Todo (high-level): 52 1. Type checking of type f unctions (and hence, associated type synonyms); routines in `TcUnify` that still need to be extended:50 1. Type checking of type families; routines in `TcUnify` that still need to be extended: 53 51 * `boxySplitTyConApp`: The second argument (`BoxyRhoType`) can be a synonym family application. Then, we must produce a wanted coercion and return a `HsWrapper` value that applies that coercion. 54 52 * `boxySplitAppTy`: Basically, the same deal as the previous. … … 61 59 * Wrapper generation and type checking of pattern matching for indexed data and newtypes. 62 60 * Consistency checking for family instances. 61 * Enforce syntactic constraints on type instances needed to ensure the termination of constraint entailment checking. 63 62 64 63 == Desugaring ==
