Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
fc1d7f79
by Jade Lovelace at 2025-12-02T11:04:09-05:00
1 changed file:
Changes:
| ... | ... | @@ -283,17 +283,17 @@ following ways: |
| 283 | 283 | |
| 284 | 284 | -- REJECTED: The kind mentions Symbol, which requires DataKinds to use in
|
| 285 | 285 | -- a kind position
|
| 286 | - data D2 :: Symbol -> Type
|
|
| 286 | + type D2 :: Symbol -> Type
|
|
| 287 | 287 | data D2 a
|
| 288 | 288 | |
| 289 | 289 | -- ACCEPTED: The kind mentions a type synonym MyType that expands to
|
| 290 | 290 | -- Type, which doesn't require DataKinds
|
| 291 | - data D3 :: MyType -> Type
|
|
| 291 | + type D3 :: MyType -> Type
|
|
| 292 | 292 | data D3 a
|
| 293 | 293 | |
| 294 | 294 | -- REJECTED: The kind mentions a type synonym MySymbol that expands to
|
| 295 | 295 | -- Symbol, which requires DataKinds to use in a kind position
|
| 296 | - data D4 :: MySymbol -> Type
|
|
| 296 | + type D4 :: MySymbol -> Type
|
|
| 297 | 297 | data D4 a
|
| 298 | 298 | |
| 299 | 299 | Unique syntax for type-level lists and tuples
|