From 2bd418d50f7f0dd5ff1db7e65a7727ed22edb4fe Mon Sep 17 00:00:00 2001 From: Sam Truzjan Date: Wed, 27 Nov 2013 13:32:19 +0400 Subject: Use Pretty class in exchange protocol --- src/Data/Torrent/Bitfield.hs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/Data') diff --git a/src/Data/Torrent/Bitfield.hs b/src/Data/Torrent/Bitfield.hs index 223e2973..a87a7ccf 100644 --- a/src/Data/Torrent/Bitfield.hs +++ b/src/Data/Torrent/Bitfield.hs @@ -83,13 +83,7 @@ import Data.List (foldl') import Data.Monoid import Data.Ratio - --- | Pieces indexed from zero up to 'PieceCount' value. -type PieceIx = Int - --- | Used to represent max set bound. Min set bound is always set to --- zero. -type PieceCount = Int +import Data.Torrent.Piece -- TODO cache some operations -- cgit v1.2.3