diff options
Diffstat (limited to 'src/Network')
-rw-r--r-- | src/Network/KRPC/Manager.hs | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/Network/KRPC/Manager.hs b/src/Network/KRPC/Manager.hs index a883a34a..6bc448c6 100644 --- a/src/Network/KRPC/Manager.hs +++ b/src/Network/KRPC/Manager.hs | |||
@@ -1,3 +1,12 @@ | |||
1 | -- | | ||
2 | -- Copyright : (c) Sam Truzjan 2013 | ||
3 | -- License : BSD3 | ||
4 | -- Maintainer : pxqr.sta@gmail.com | ||
5 | -- Stability : experimental | ||
6 | -- Portability : portable | ||
7 | -- | ||
8 | -- Normally, you don't need to import this module. | ||
9 | -- | ||
1 | {-# LANGUAGE FlexibleContexts #-} | 10 | {-# LANGUAGE FlexibleContexts #-} |
2 | {-# LANGUAGE ScopedTypeVariables #-} | 11 | {-# LANGUAGE ScopedTypeVariables #-} |
3 | {-# LANGUAGE DefaultSignatures #-} | 12 | {-# LANGUAGE DefaultSignatures #-} |
@@ -5,18 +14,18 @@ | |||
5 | {-# LANGUAGE FunctionalDependencies #-} | 14 | {-# LANGUAGE FunctionalDependencies #-} |
6 | {-# LANGUAGE FlexibleInstances #-} | 15 | {-# LANGUAGE FlexibleInstances #-} |
7 | module Network.KRPC.Manager | 16 | module Network.KRPC.Manager |
8 | ( MonadKRPC (..) | 17 | ( -- * Manager |
18 | MonadKRPC (..) | ||
9 | , Manager | 19 | , Manager |
10 | , newManager | 20 | , newManager |
11 | , closeManager | 21 | , closeManager |
12 | , withManager | 22 | , withManager |
23 | , listen | ||
13 | 24 | ||
25 | -- * Queries | ||
14 | , query | 26 | , query |
15 | |||
16 | , Handler | 27 | , Handler |
17 | , handler | 28 | , handler |
18 | , listener | ||
19 | , listen | ||
20 | ) where | 29 | ) where |
21 | 30 | ||
22 | import Control.Applicative | 31 | import Control.Applicative |