diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2022-11-28 21:06:37 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2022-11-30 21:26:45 +0100 |
commit | 879946ea2a61cb76354b5c70d2dea0d8cce7cb13 (patch) | |
tree | 5e5613b7d568a69191ae6be17bc126288fa46166 /src/Network.hs | |
parent | 7971bd30d86eb292a65bffe90eba18f8428cd0aa (diff) |
Separate process list from network
Diffstat (limited to 'src/Network.hs')
-rw-r--r-- | src/Network.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Network.hs b/src/Network.hs index 8048c72..5b386c8 100644 --- a/src/Network.hs +++ b/src/Network.hs @@ -11,12 +11,10 @@ import Control.Concurrent import Data.Text (Text) import Data.Text qualified as T -import {-# SOURCE #-} Process import Test data Network = Network { netNodes :: MVar [Node] - , netProcesses :: MVar [Process] , netDir :: FilePath } @@ -48,7 +46,7 @@ nextNodeName (VarName tname) = go 0 instance ExprType Network where textExprType _ = T.pack "network" textExprValue _ = T.pack "s:0" - emptyVarValue = Network undefined undefined undefined + emptyVarValue = Network undefined undefined instance ExprType Node where textExprType _ = T.pack "node" |