diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-06-07 01:09:37 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-06-07 01:09:37 +0400 |
commit | 558616b7dcc8955ab08fe8b194cdd5e128aba3f4 (patch) | |
tree | 71a7c54f5f3c83bc2847c8efabf3b966e0f0800c /src/Data/Bitfield.hs | |
parent | 65282d73004fb45b502a5e9bf50359159f6179de (diff) |
~ Use testing flag to hide internals.
We need some internal functions in tests and benchmarks, so it's better
to just use CPP for this.
Diffstat (limited to 'src/Data/Bitfield.hs')
-rw-r--r-- | src/Data/Bitfield.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Data/Bitfield.hs b/src/Data/Bitfield.hs index a1033ff2..ee0570e7 100644 --- a/src/Data/Bitfield.hs +++ b/src/Data/Bitfield.hs | |||
@@ -34,10 +34,10 @@ module Data.Bitfield | |||
34 | , getBitfield, putBitfield | 34 | , getBitfield, putBitfield |
35 | , bitfieldByteCount | 35 | , bitfieldByteCount |
36 | 36 | ||
37 | -- #ifdef TESTING | 37 | #if defined (TESTING) |
38 | , -- * Debug | 38 | -- * Debug |
39 | mkBitfield | 39 | , mkBitfield |
40 | -- #endif | 40 | #endif |
41 | ) where | 41 | ) where |
42 | 42 | ||
43 | import Control.Monad | 43 | import Control.Monad |