{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiccfqovllom5gmrnkneglc4xitc6omqitcweu2qb4ducaz2rok37y",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mot4kf6kswr2"
},
"path": "/t/error-ghc-91510-illegal-polymorphic-type/14304#post_5",
"publishedAt": "2026-06-21T17:37:02.000Z",
"site": "https://discourse.haskell.org",
"textContent": "Horrible hack, but:\n\n\n type Objects :: Type -> (k -> k -> Type) -> k -> Constraint\n class C arr a => Objects c arr a where\n type C arr a :: Constraint\n\n data DoOrd\n\n instance Ord a => Objects DoOrd (->) a where\n type C _ a = Ord a\n",
"title": "Error GHC-91510: illegal polymorphic type"
}