{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreidsneaf4jcqdhac7v563wguqjjs67czlk7vpphowsqw6yrusiydh4",
    "uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3miurj4hkroj2"
  },
  "path": "/t/ann-css-class-bindings-library-generates-haskell-bindings-for-css-classes/13857#post_8",
  "publishedAt": "2026-04-06T21:36:09.000Z",
  "site": "https://discourse.haskell.org",
  "textContent": "I’m curious why you chose to generate data constructors for IDs, instead of variables of a fixed type like you do for classes?\n\nAlso, what’s your approach to parsing the CSS? An ID appearing in a position like `*:not(#a) {}` isn’t picked up, even though a class in the same place is.\n\nAnyway, I don’t think I can really use this library in practice for the foreseeable future, since the Wasm backend’s GHCI browser mode’s Template Haskell support isn’t able to read files.",
  "title": "[ANN] css-class-bindings library generates Haskell bindings for CSS classes"
}