Changes between Version 7 and Version 8 of TypeFunctionsTypeChecking
- Timestamp:
- 08/14/06 13:46:44 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TypeFunctionsTypeChecking
v7 v8 28 28 29 29 To represent type families (which do not have a fixed right hand side), the type of `synTcRhs` changed from `Type` to `Maybe Type`. Consequently, all functions that dependent on this field need to be extended. In particular, `TcType.isTauTyCon` regards applications of type family constructors as ''tau types''. (SPJ, is that ok?) 30 31 Moreover, `BuildTyCls.buildSynTyCon`'s last argument is generalised from `Type` to `Either Kind Type`. If this argument is `Just kind`, we have a type family; otherwise, we have an ordinary type synonym. 30 32 31 33 === Desugaring indexed data types ===
