]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - examples/Implanted.hs
Unfoldable Dispatcher
[Lucu.git] / examples / Implanted.hs
index 633e40ae4f1361cfebf4ee344a760045742ab15e..82d98e74d4c7a683f255fca5b0e2565eb5945ec6 100644 (file)
@@ -1,11 +1,12 @@
+{-# LANGUAGE
+    UnicodeSyntax
+  #-}
 import MiseRafturai
-import Network
 import Network.HTTP.Lucu
 
-main :: IO ()
-main = let config    = defaultConfig { cnfServerPort = PortNumber 9999 }
+main  IO ()
+main = let config    = defaultConfig { cnfServerPort = "9999" }
            resources = mkResTree [ ([], miseRafturai) ]
        in
          do putStrLn "Access http://localhost:9999/ with your browser."
-            runHttpd config resources
-                                   
\ No newline at end of file
+            runHttpd config resources []