The ability to interleave Haskell expressions in the QuasiQuoter.
rashadg1030 opened this issue · 0 comments
rashadg1030 commented
Hello again. As I use the library I realized that having the ability to "dynamically" create a type-checked CSS selector would be very helpful. For example, I have a function that creates a row in the Lucid HTML EDSL:
hx_target_ :: SelectorGroup -> Lucid.Attribute
hx_target_ sg = ...
makeRow :: Int -> Html ()
makeRow index = do
tr_ [hx_target_ [csssel|.edit-row-${index}|]] $ do
....