Some Yesod (attempted) optimizations