Type safe static assets
Referencing static assets in your web application is an error prone-process that the compiler can help type-check.
The frontend code would look like this:
import Obelisk.Generated.Static -- Generated by Nix elAttr "link" ("href" =: static @"main.css" <> "type" =: "text/css") blank
static @"main.css" is guaranteed to compile only if you have the associated file in the project directory.