add reference from RealNode to Service
This required to make both RealNode(STM) and LocalNodeState(STM) parameterisable polymorphic types
This commit is contained in:
parent
4bf8091143
commit
5ffe1b074e
5 changed files with 68 additions and 67 deletions
|
@ -292,7 +292,7 @@ exampleNodeState = RemoteNodeState {
|
|||
, vServerID = 0
|
||||
}
|
||||
|
||||
exampleLocalNode :: IO LocalNodeState
|
||||
exampleLocalNode :: IO (LocalNodeState s)
|
||||
exampleLocalNode = nodeStateInit =<< (newTVarIO $ RealNode {
|
||||
vservers = []
|
||||
, nodeConfig = exampleFediConf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue