Re:Haskell in Production: The good, the bad, and the ugly
by papsosouid on Thursday November 01, 2012 @09:40AM
(#4727392)
It isn't "not strictly static", it literally has absolutely nothing at all to do with static content in any way. The heist snaplet adds a default "if nothing else matches, look for a template" route if you use the initialization function that says "sets up routes for all the templates". If you don't want that, then use the initialization function that doesn't do so (heistInit' which is right below heistInit in the docs, and linked to by the doc string of heistInit).
That seems like a really odd thing to try to characterize as "weirdly implemented".
https://github.com/snapframework/snap/blob/master/src/Snap/S...
While not strictly static, the heist snaplet silently adds a route that unconditionally serves templates in a fashion similar to a static serve.