{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreibobom2yalb7wla7y6soywaeorftwomjml4jvqglup7juwgpgalxa",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mijstkp44ng2"
},
"path": "/t/type-equality-in-gadt-typefamily-context/13876#post_3",
"publishedAt": "2026-04-02T16:33:32.000Z",
"site": "https://discourse.haskell.org",
"tags": [
"GitLab",
"First-class apartness checking in type families (#17585) · Issues · Glasgow..."
],
"textContent": "This is indeed difficult, unfortunately. It’s been discussed by the GHC developers a few times over the years, see in particular this ticket and those linking to it:\n\nGitLab\n\n### First-class apartness checking in type families (#17585) · Issues · Glasgow...\n\nI feel like GHC could keep track of apartness a bit more carefully. Consider for instance:",
"title": "Type equality in GADT/TypeFamily context"
}