Skip to content

Commit 7a85bc6

Browse files
authored
Remove separate strictness section in IntSet docs (#1033)
Mention strictness in the structure description, as done in other modules.
1 parent e3bd02d commit 7a85bc6

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

containers/src/Data/IntSet.hs

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
--
1818
-- = Finite Int Sets
1919
--
20-
-- The @'IntSet'@ type represents a set of elements of type @Int@.
20+
-- The @'IntSet'@ type represents a set of elements of type @Int@. An @IntSet@
21+
-- is strict in its elements.
2122
--
2223
-- For a walkthrough of the most commonly used functions see their
2324
-- <https://haskell-containers.readthedocs.io/en/latest/set.html sets introduction>.
@@ -61,9 +62,6 @@
6162
-----------------------------------------------------------------------------
6263

6364
module Data.IntSet (
64-
-- * Strictness properties
65-
-- $strictness
66-
6765
-- * Set type
6866
#if !defined(TESTING)
6967
IntSet -- instance Eq,Show
@@ -162,13 +160,3 @@ module Data.IntSet (
162160

163161
import Data.IntSet.Internal.IntTreeCommons (Key)
164162
import Data.IntSet.Internal as IS
165-
166-
-- $strictness
167-
--
168-
-- This module satisfies the following strictness property:
169-
--
170-
-- * Key arguments are evaluated to WHNF
171-
--
172-
-- Here are some examples that illustrate the property:
173-
--
174-
-- > delete undefined s == undefined

0 commit comments

Comments
 (0)