REF clean up type alias
This commit is contained in:
parent
003b0ce937
commit
0d024ab649
|
@ -52,7 +52,7 @@ instance Exec VPN where
|
||||||
|
|
||||||
data VEnv c = VEnv
|
data VEnv c = VEnv
|
||||||
{ vClient :: !c
|
{ vClient :: !c
|
||||||
, vState :: !MutableVPNState
|
, vState :: !(MVar VPNState)
|
||||||
, vDisplay :: !(VIO ())
|
, vDisplay :: !(VIO ())
|
||||||
, vEnv :: !SimpleApp
|
, vEnv :: !SimpleApp
|
||||||
}
|
}
|
||||||
|
@ -67,8 +67,6 @@ type VIO = RIO (VEnv SysClient)
|
||||||
|
|
||||||
type VPNState = S.Set ObjectPath
|
type VPNState = S.Set ObjectPath
|
||||||
|
|
||||||
type MutableVPNState = MVar VPNState
|
|
||||||
|
|
||||||
initState :: VIO ()
|
initState :: VIO ()
|
||||||
initState = do
|
initState = do
|
||||||
ot <- getVPNObjectTree
|
ot <- getVPNObjectTree
|
||||||
|
|
Loading…
Reference in New Issue