{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreihqo7gh36qwsg26c6fnbrpzegt6a25vyscm46smyxzbmg3vzxcpye",
"uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mozqg75gqca2"
},
"path": "/t/stock-stock-style-deriving-via-coercion-with-no-generic/14311#post_3",
"publishedAt": "2026-06-24T09:55:32.000Z",
"site": "https://discourse.haskell.org",
"textContent": "You typically wouldn’t override all the fields. I’d use a library like this if I have a lot fields (10 or more perhaps) and only a few of them need overriding. And even if it would be equally long, I’d much prefer a declarative, correct by construction derived instance than code, no matter how clear, that I’d need to read to check for subtle mistakes, or would have to write boring tests for.",
"title": "Stock: Stock-style deriving via coercion, with no Generic"
}