Skip to content

Commit

Permalink
Remove unneeded liftIO
Browse files Browse the repository at this point in the history
  • Loading branch information
ehamberg committed May 26, 2015
1 parent f1889f4 commit a840ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/urlshortener.hs
Expand Up @@ -28,7 +28,7 @@ import Text.Blaze.Html.Renderer.Text (renderHtml)

main :: IO ()
main = do
m <- liftIO $ newMVar (0::Int,M.empty :: M.Map Int T.Text)
m <- newMVar (0::Int,M.empty :: M.Map Int T.Text)
scotty 3000 $ do
middleware logStdoutDev
middleware static
Expand Down

0 comments on commit a840ebd

Please sign in to comment.