The TH call
$(staticFiles "static")
dumps a load of values of type StaticRoute
.
Hamlet typesafe URLs (i.e. @{...}
) take values of type Route Foo
, where Foo
is my foundation.
There must be a way of using the StaticRoute
values as URLs in Hamlet. That is, one of the following must exist:
- A standard function of type
StaticRoute -> Route Foo
- A different way of embedding
StaticRoute
values in Hamlet
However, I can't find either. Help?