X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Lucu.git;a=blobdiff_plain;f=examples%2FImplantedSmall.hs;h=fe45b89615dcfbeafd9284f965577df76dc51749;hp=ba9b5b9d4cfd336c518e6471924bfe574465ed76;hb=950640dd241222203778f8167943d30fa52f356a;hpb=251831f3e465eb77666193efcb9b4c02531faa6c diff --git a/examples/ImplantedSmall.hs b/examples/ImplantedSmall.hs index ba9b5b9..fe45b89 100644 --- a/examples/ImplantedSmall.hs +++ b/examples/ImplantedSmall.hs @@ -4,6 +4,7 @@ import qualified Data.Collections as C import Network import Network.HTTP.Lucu +import Prelude.Unicode import SmallFile main ∷ IO () @@ -12,4 +13,4 @@ main = let config = defaultConfig { cnfServerPort = "9999" } tree = C.fromList [ ([], nonGreedy smallFile) ] in do putStrLn "Access http://localhost:9999/ with your browser." - withSocketsDo $ runHttpd config $ resourceMap tree + withSocketsDo ∘ runHttpd config $ resourceMap tree