From 183a9ac68444d49aa4dfcc690a50b683a3154874 Mon Sep 17 00:00:00 2001 From: Sam Truzjan Date: Thu, 28 Nov 2013 16:43:50 +0400 Subject: Hide PeerId constructor Make PeerId datatype abstract since we will change representation to more compact. --- src/Network/BitTorrent/Core/PeerId.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ {-# LANGUAGE GeneralizedNewtypeDeriving #-} module Network.BitTorrent.Core.PeerId ( -- * PeerId - PeerId (getPeerId) + PeerId , byteStringToPeerId -- * Generation -- cgit v1.2.3