summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoz Ross <koz.ross@retro-freedom.nz>2021-01-21 09:16:28 +1300
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-23 15:30:37 -0500
commit1a3f3247ce050b1fb66a88bcd4d77ea74cacf507 (patch)
tree0c71a28267e3522dfae092fdc72070afb3ef4df7
parent28ef8a8aa4089e0ecd730ce7c41bcf73ee4c09b5 (diff)
downloadhaskell-1a3f3247ce050b1fb66a88bcd4d77ea74cacf507.tar.gz
Add headers for Data.Bits documentation
-rw-r--r--libraries/base/Data/Bits.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/libraries/base/Data/Bits.hs b/libraries/base/Data/Bits.hs
index e0880f3baf..67772df563 100644
--- a/libraries/base/Data/Bits.hs
+++ b/libraries/base/Data/Bits.hs
@@ -22,6 +22,7 @@
-----------------------------------------------------------------------------
module Data.Bits (
+ -- * Type classes
Bits(
(.&.), (.|.), xor,
complement,
@@ -46,13 +47,13 @@ module Data.Bits (
countLeadingZeros,
countTrailingZeros
),
-
+ -- * Extra functions
bitDefault,
testBitDefault,
popCountDefault,
toIntegralSized,
oneBits,
-
+ -- * Newtypes
And(..), Ior(..), Xor(..), Iff(..)
) where