This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "snap".
The branch, master has been updated
via c07cd8da9fb465ff216c3f20121cebbcb89994b5 (commit)
via d4ed82fdeac53a73563fceb97e19bb0ed6718d6c (commit)
from d7254afc3e5b6655e552a9d6bf4a07fbb46a68b6 (commit)
Summary of changes:
TODO | 5 ++---
project_template/hint/src/Server.hs | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c07cd8da9fb465ff216c3f20121cebbcb89994b5
Author: Carl Howells <[email protected]>
Date: Tue Jun 22 22:40:10 2010 -0700
Minor refactoring of the hint project template
diff --git a/project_template/hint/src/Server.hs
b/project_template/hint/src/Server.hs
index fcad67b..cd566b8 100644
--- a/project_template/hint/src/Server.hs
+++ b/project_template/hint/src/Server.hs
@@ -6,7 +6,7 @@ module Server
, server
, quickServer
) where
-import qualified Data.ByteString.Char8 as B
+import qualified Data.ByteString.Char8 as S
import Data.ByteString.Char8 (ByteString)
import Data.Char
import Control.Concurrent
@@ -70,7 +70,7 @@ commandLineConfig = do
server :: ServerConfig -> Snap () -> IO ()
server config handler = do
- putStrLn $ "Listening on " ++ (B.unpack $ interface config)
+ putStrLn $ "Listening on " ++ (S.unpack $ interface config)
++ ":" ++ show (port config)
setUTF8Locale (locale config)
try $ httpServe
commit d4ed82fdeac53a73563fceb97e19bb0ed6718d6c
Author: Carl Howells <[email protected]>
Date: Tue Jun 22 22:39:43 2010 -0700
TODO updates
diff --git a/TODO b/TODO
index 99ee4e1..76c19e9 100644
--- a/TODO
+++ b/TODO
@@ -1,9 +1,6 @@
TODO
----
-Look at existing default project, and determine how much of that I
-want to keep/integrate.
-
Integrate extracting ghc options from cabal.
document EVERYTHING.
@@ -17,3 +14,5 @@ Fix broken SIGINT handler installed by the ghc api via hint.
-- two languages, or abuse the signal handler it does install
Figure out why building the TH splices in StarterTH is SO slow.
+
+Make the initial web page a bit better.
-----------------------------------------------------------------------
hooks/post-receive
--
snap
_______________________________________________
Snap mailing list
[email protected]
http://mailman-mail5.webfaction.com/listinfo/snap