Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
loadSnapTH :: Q Exp -> Name -> [String] -> Q Exp Source #
This function provides a non-magical type-compatible loader for the one in snap-dynamic's Snap.Loader.Devel, allowing switching one import to provide production-mode compilation.
This could be considered a TH wrapper around a function
loadSnap :: Typeable a => IO a -> (a -> IO (Snap (), IO ())) -> [String] -> IO (a, Snap (), IO ())
The third argument is unused, and only present for type-compatibility with Snap.Loader.Devel