yesod/yesod-static/Yesod/EmbeddedStatic
John Lenz 1a5aa23f13 static: fix the build on GHC 7.4
There were two build issues on GHC 7.4: using atomicModifyIORef'
and ByteString.Lazy.toStrict, both of which were missing.  These
are now fixed.

In addition, looking at the IORef code more closely,
we want the quite a bit of strictness in the IORef.
The common case is that the widget content already exists in the map
(every reload of a page will call embedStaticContent), but until we
force the map the thunks holding the duplicated generated content will
be kept around, leaking memory.  This will be the common situation since
the vast majority of the time the content already exists.  Since
the containers module does not have a strict map until 0.5, use
unordered containers which does have a strict map.
2013-09-12 17:52:15 -05:00
..
Generators.hs static: add several embedded generators 2013-09-12 12:21:47 -05:00
Internal.hs static: fix the build on GHC 7.4 2013-09-12 17:52:15 -05:00
Types.hs static: Add an embedded static subsite 2013-09-12 12:21:33 -05:00