diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-05-20 15:59:54 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-05-20 15:59:54 +0400 |
commit | 3498b67c4dac7850d24df6a70583f5868b5a288e (patch) | |
tree | dfe4b1f9d45016e044577d929f56ba812c980570 /src/Data/Bitfield.hs | |
parent | 6f72996b629562141d72cda1b95af4efb4e2a91e (diff) |
~ Unify export lists.
Diffstat (limited to 'src/Data/Bitfield.hs')
-rw-r--r-- | src/Data/Bitfield.hs | 11 |
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 | ||
38 | import Control.Applicative hiding (empty) | 41 | import Control.Applicative hiding (empty) |
39 | import Data.Array.Unboxed | ||
40 | import Data.Bits | 42 | import Data.Bits |
41 | import Data.ByteString (ByteString) | 43 | import Data.ByteString (ByteString) |
42 | import qualified Data.ByteString as B | 44 | import qualified Data.ByteString as B |
43 | import qualified Data.ByteString.Internal as B | 45 | import qualified Data.ByteString.Internal as B |
44 | import Data.List as L hiding (union) | 46 | import Data.List as L hiding (union) |
45 | import Data.Maybe | ||
46 | import Data.Serialize | 47 | import Data.Serialize |
47 | import Data.Word | 48 | import Data.Word |
48 | 49 | ||