summaryrefslogtreecommitdiff
path: root/src/Data/Bitfield.hs
diff options
context:
space:
mode:
authorSam T <pxqr.sta@gmail.com>2013-05-20 15:59:54 +0400
committerSam T <pxqr.sta@gmail.com>2013-05-20 15:59:54 +0400
commit3498b67c4dac7850d24df6a70583f5868b5a288e (patch)
treedfe4b1f9d45016e044577d929f56ba812c980570 /src/Data/Bitfield.hs
parent6f72996b629562141d72cda1b95af4efb4e2a91e (diff)
~ Unify export lists.
Diffstat (limited to 'src/Data/Bitfield.hs')
-rw-r--r--src/Data/Bitfield.hs11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Data/Bitfield.hs b/src/Data/Bitfield.hs
index ac647791..f7240c8a 100644
--- a/src/Data/Bitfield.hs
+++ b/src/Data/Bitfield.hs
@@ -18,10 +18,10 @@ module Data.Bitfield
18 18
19 -- * Construction 19 -- * Construction
20 , empty, full 20 , empty, full
21 , toList
22 , fromByteString, toByteString
23 21
24 -- * Query 22 -- * Query
23 , bitfieldByteCount, bitfieldBitCount
24
25 , haveCount, completeness 25 , haveCount, completeness
26 , findMin, findMax 26 , findMin, findMax
27 , union, intersection, difference, combine 27 , union, intersection, difference, combine
@@ -29,20 +29,21 @@ module Data.Bitfield
29 29
30 -- * Serialization 30 -- * Serialization
31 , getBitfield, putBitfield 31 , getBitfield, putBitfield
32 , bitfieldByteCount, bitfieldBitCount
33 32
33 -- * Conversion
34 , toList
35 , fromByteString, toByteString
34 36
37 -- * Debug
35 , aligned, alignLow, alignedZip 38 , aligned, alignLow, alignedZip
36 ) where 39 ) where
37 40
38import Control.Applicative hiding (empty) 41import Control.Applicative hiding (empty)
39import Data.Array.Unboxed
40import Data.Bits 42import Data.Bits
41import Data.ByteString (ByteString) 43import Data.ByteString (ByteString)
42import qualified Data.ByteString as B 44import qualified Data.ByteString as B
43import qualified Data.ByteString.Internal as B 45import qualified Data.ByteString.Internal as B
44import Data.List as L hiding (union) 46import Data.List as L hiding (union)
45import Data.Maybe
46import Data.Serialize 47import Data.Serialize
47import Data.Word 48import Data.Word
48 49