diff options
author | joe <joe@jerkface.net> | 2017-11-13 18:15:36 -0500 |
---|---|---|
committer | joe <joe@jerkface.net> | 2017-11-13 18:15:36 -0500 |
commit | f4c8d11fdf0210d4ed1427a62e920b429cd23a12 (patch) | |
tree | 069168612461e6830c498d272d1fa9c7982ea4ad | |
parent | 2d2a7d8fc074a2ea8442534cab78481a70b43781 (diff) |
Minor edit.
-rw-r--r-- | Presence/Presence.hs | 4 | ||||
-rw-r--r-- | TraversableT.hs | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Presence/Presence.hs b/Presence/Presence.hs index 9660b29f..d2a6b6eb 100644 --- a/Presence/Presence.hs +++ b/Presence/Presence.hs | |||
@@ -145,7 +145,9 @@ data PresenceState = PresenceState | |||
145 | , remotesByPeer :: TVar (Map ConnectionKey | 145 | , remotesByPeer :: TVar (Map ConnectionKey |
146 | (Map UserName | 146 | (Map UserName |
147 | RemotePresence)) | 147 | RemotePresence)) |
148 | , associatedPeers :: TVar (Map SockAddr ()) | 148 | , -- | These are the remote peers we are seeking to obtain a connection to. |
149 | -- See 'rosterGetStuff'. | ||
150 | associatedPeers :: TVar (Map SockAddr ()) | ||
149 | , server :: TMVar XMPPServer | 151 | , server :: TMVar XMPPServer |
150 | , keyToChan :: TVar (Map ConnectionKey Conn) | 152 | , keyToChan :: TVar (Map ConnectionKey Conn) |
151 | , consoleWriter :: Maybe ConsoleWriter | 153 | , consoleWriter :: Maybe ConsoleWriter |
diff --git a/TraversableT.hs b/TraversableT.hs index cc187951..c0e40853 100644 --- a/TraversableT.hs +++ b/TraversableT.hs | |||
@@ -2,7 +2,7 @@ module TraversableT where | |||
2 | 2 | ||
3 | import Data.Traversable | 3 | import Data.Traversable |
4 | import Control.Monad (join,MonadPlus(..)) | 4 | import Control.Monad (join,MonadPlus(..)) |
5 | import Control.Monad.Trans.Class | 5 | import Control.Monad.Trans.Class (MonadTrans(..)) |
6 | import Control.Applicative | 6 | import Control.Applicative |
7 | import Data.Foldable (Foldable(foldMap), toList) | 7 | import Data.Foldable (Foldable(foldMap), toList) |
8 | import Data.Maybe (maybeToList) | 8 | import Data.Maybe (maybeToList) |