{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreia5h6rzh7t3a7ghsjrdhdag6ogly7nleafsist2t4dde46h5h4yve",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3ml2krc5ndjm2"
},
"path": "/t/why-dont-we-have-an-import-what-you-use-commandment-in-haskell/13969#post_6",
"publishedAt": "2026-05-04T19:30:01.000Z",
"site": "https://discourse.haskell.org",
"textContent": "That’s actually a good thought! I don’t think its necessary that typeclass instances be available without explicit import, though it certainly has elements of convenience. A flag to toggle this behavior would be an interesting option for GHC, and it could in turn be used as a “linting” pass even if it isn’t typically enabled.",
"title": "Why don't we have an \"`import` what you use\" commandment in Haskell?"
}