@@ -109,6 +109,7 @@ import Control.Distributed.Process.Internal.Types
109109 , localPidUnique
110110 , localProcessWithId
111111 , localConnections
112+ , forever'
112113 , MonitorRef(..)
113114 , ProcessMonitorNotification(..)
114115 , NodeMonitorNotification(..)
@@ -202,11 +203,6 @@ createBareLocalNode endPoint rtable = do
202203 void . forkIO $ handleIncomingMessages node
203204 return node
204205
205−-- Like 'Control.Monad.forever' but sans space leak
206−{-# INLINE forever' #-}
207−forever' :: Monad m => m a -> m b
208−forever' a = let a' = a >> a' in a'
209−
210206-- | Start and register the service processes on a node
211207-- (for now, this is only the logger)
212208startServiceProcesses :: LocalNode -> IO ()