From 163a3ec4b6bd7828aa1bd4ce8711058ba2898e73 Mon Sep 17 00:00:00 2001 From: Simon Jakobi Date: Mon, 2 May 2022 18:05:04 +0200 Subject: [PATCH] Clarify an aspect of the sparseIndex haddocks (#448) --- Data/HashMap/Internal.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/HashMap/Internal.hs b/Data/HashMap/Internal.hs index 20d16c86..1a37d77d 100644 --- a/Data/HashMap/Internal.hs +++ b/Data/HashMap/Internal.hs @@ -2413,7 +2413,7 @@ mask :: Hash -> Shift -> Bitmap mask w s = 1 `unsafeShiftL` index w s {-# INLINE mask #-} --- | This array index is computed by counting the number of bits below the +-- | This array index is computed by counting the number of 1-bits below the -- 'index' represented by the mask. -- -- >>> sparseIndex 0b0110_0110 0b0010_0000