diff options
Diffstat (limited to 'src/Data/Torrent/Bitfield.hs')
-rw-r--r-- | src/Data/Torrent/Bitfield.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Data/Torrent/Bitfield.hs b/src/Data/Torrent/Bitfield.hs index a87a7ccf..c7ef0998 100644 --- a/src/Data/Torrent/Bitfield.hs +++ b/src/Data/Torrent/Bitfield.hs | |||
@@ -190,6 +190,7 @@ isSubsetOf a b = bfSet a `S.isSubsetOf` bfSet b | |||
190 | -- download. | 190 | -- download. |
191 | type Frequency = Int | 191 | type Frequency = Int |
192 | 192 | ||
193 | -- TODO rename to availability | ||
193 | -- | How many times each piece index occur in the given bitfield set. | 194 | -- | How many times each piece index occur in the given bitfield set. |
194 | frequencies :: [Bitfield] -> Vector Frequency | 195 | frequencies :: [Bitfield] -> Vector Frequency |
195 | frequencies [] = V.fromList [] | 196 | frequencies [] = V.fromList [] |