Skip to content

Commit e9be9ca

Browse files
committed
Listed imports
1 parent bb13d7c commit e9be9ca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

demo/Demo.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
module Main (main) where
44

55
import Network.JsonRpc.Server
6-
import Happstack.Server.SimpleHTTP hiding (Method, body, result)
6+
import Happstack.Server.SimpleHTTP( ServerPartT, simpleHTTP, nullConf
7+
, askRq, rqBody, unBody, toResponse)
78
import Data.List (intercalate)
89
import Data.Maybe (fromMaybe)
910
import Control.Monad (when)
1011
import Control.Monad.Trans (liftIO)
1112
import Control.Monad.Error (throwError)
1213
import Control.Monad.Reader (ReaderT, ask, runReaderT)
13-
import Control.Concurrent.MVar
14+
import Control.Concurrent.MVar (MVar, newMVar, readMVar, modifyMVar)
1415

1516
main :: IO ()
1617
main = newMVar 0 >>= \count ->

0 commit comments

Comments
 (0)