fix for ghc8107
This commit is contained in:
parent
2de111e76c
commit
1f5b80d560
@ -208,7 +208,7 @@ directOrUsed ct@Contact {contactUsed} =
|
|||||||
contactDirect ct || contactUsed
|
contactDirect ct || contactUsed
|
||||||
|
|
||||||
anyDirectOrUsed :: Contact -> Bool
|
anyDirectOrUsed :: Contact -> Bool
|
||||||
anyDirectOrUsed Contact {contactUsed, activeConn} = ((\c -> c.connLevel) <$> activeConn) == Just 0 || contactUsed
|
anyDirectOrUsed Contact {contactUsed, activeConn} = ((\Connection {connLevel} -> connLevel) <$> activeConn) == Just 0 || contactUsed
|
||||||
|
|
||||||
contactReady :: Contact -> Bool
|
contactReady :: Contact -> Bool
|
||||||
contactReady Contact {activeConn} = maybe False connReady activeConn
|
contactReady Contact {activeConn} = maybe False connReady activeConn
|
||||||
|
Loading…
Reference in New Issue
Block a user