summaryrefslogtreecommitdiff
path: root/src/Network
diff options
context:
space:
mode:
authorSam Truzjan <pxqr.sta@gmail.com>2013-11-28 16:43:50 +0400
committerSam Truzjan <pxqr.sta@gmail.com>2013-11-28 16:43:50 +0400
commit183a9ac68444d49aa4dfcc690a50b683a3154874 (patch)
tree8a03b6facda1dc29d3b6660e946f64608de99879 /src/Network
parent7eb6d545740ce10287b5556957eba9e74d5be11f (diff)
Hide PeerId constructor
Make PeerId datatype abstract since we will change representation to more compact.
Diffstat (limited to 'src/Network')
-rw-r--r--src/Network/BitTorrent/Core/PeerId.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Network/BitTorrent/Core/PeerId.hs b/src/Network/BitTorrent/Core/PeerId.hs
index 68a02399..3f90347c 100644
--- a/src/Network/BitTorrent/Core/PeerId.hs
+++ b/src/Network/BitTorrent/Core/PeerId.hs
@@ -14,7 +14,7 @@
14{-# LANGUAGE GeneralizedNewtypeDeriving #-} 14{-# LANGUAGE GeneralizedNewtypeDeriving #-}
15module Network.BitTorrent.Core.PeerId 15module Network.BitTorrent.Core.PeerId
16 ( -- * PeerId 16 ( -- * PeerId
17 PeerId (getPeerId) 17 PeerId
18 , byteStringToPeerId 18 , byteStringToPeerId
19 19
20 -- * Generation 20 -- * Generation