External Publication
Visit Post

[ANN] css-class-bindings library generates Haskell bindings for CSS classes

Haskell Community [Unofficial] April 6, 2026
Source

I’m curious why you chose to generate data constructors for IDs, instead of variables of a fixed type like you do for classes?

Also, 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.

Anyway, 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.

Discussion in the ATmosphere

Loading comments...