Copyright | (c) 2014-2015 Peter Trško |
---|---|
License | BSD3 |
Maintainer | peter.trsko@gmail.com |
Stability | stable |
Portability | GHC specific language extensions. |
Safe Haskell | Safe |
Language | Haskell2010 |
Module defines data family of connection pools that is later specialised for various protocols and implementations.
This module is intended mostly for library writers, for normal usage just
import Data.ConnectionPool which re-exports ConnectionPool
data family.
Notice that this module doesn't depend on any other internal modules nor any other package then base. Please, bear this in mind when doing modifications.
- data family ConnectionPool :: k -> *
Connection Pool Family
data family ConnectionPool :: k -> * Source #
Family of connection pools parametrised by transport protocol.
Definition changed in version 0.2 to be kind polymorphic (only on GHC >= 7.10), and became part of stable API by being moved in to Data.ConnectionPool.Family module.
HasConnectionPool HandlerParams Socket () (ConnectionPool * UnixClient) Source # | Since version 0.2. |
HasConnectionPool HandlerParams Socket SockAddr (ConnectionPool * TcpClient) Source # | Since version 0.2. |
Show (ConnectionPool * TcpClient) # | |
Show (ConnectionPool * UnixClient) # | |
Generic (ConnectionPool * TcpClient) # | |
Generic (ConnectionPool * UnixClient) # | |
data ConnectionPool * TcpClient Source # | Connection pool for TCP clients. Definition changed in version 0.1.3 and 0.2.
Instances for |
data ConnectionPool * UnixClient Source # | Connection pool for UNIX Socket clients. Definition changed in version 0.1.3 and 0.2.
Instances for |
type Rep (ConnectionPool * TcpClient) # | |
type Rep (ConnectionPool * UnixClient) # | |