Skip to content
Snippets Groups Projects
Verified Commit 92c1893f authored by Phil de Joux's avatar Phil de Joux
Browse files

FOURMOLU_DISABLE Test.Cabal.Server

parent 6b78a133
No related branches found
No related tags found
No related merge requests found
...@@ -253,6 +253,7 @@ startServer chan senv = do ...@@ -253,6 +253,7 @@ startServer chan senv = do
-- | Unmasked initialization for the server -- | Unmasked initialization for the server
initServer :: Server -> IO Server initServer :: Server -> IO Server
{- FOURMOLU_DISABLE -}
initServer s0 = do initServer s0 = do
-- NB: withProcessHandle reads an MVar and is interruptible -- NB: withProcessHandle reads an MVar and is interruptible
...@@ -275,6 +276,7 @@ initServer s0 = do ...@@ -275,6 +276,7 @@ initServer s0 = do
write s ":set prompt \"\"" write s ":set prompt \"\""
write s "System.IO.hSetBuffering System.IO.stdout System.IO.LineBuffering" write s "System.IO.hSetBuffering System.IO.stdout System.IO.LineBuffering"
return s return s
{- FOURMOLU_ENABLE -}
-- | Stop a GHCi session. -- | Stop a GHCi session.
stopServer :: Server -> IO () stopServer :: Server -> IO ()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment