Skip to content

Commit 6405335

Browse files
authored
Merge pull request #651 from IntersectMBO/wenkokke/haddock-not-home
doc: add `not-home` to all internal modules
2 parents d2dd941 + 448d010 commit 6405335

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+125
-37
lines changed

src/Database/LSMTree/Internal/Assertions.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{-# LANGUAGE CPP #-}
22
{-# LANGUAGE MagicHash #-}
3+
{-# OPTIONS_HADDOCK not-home #-}
4+
35
module Database.LSMTree.Internal.Assertions (
46
assert,
57
isValidSlice,

src/Database/LSMTree/Internal/BitMath.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{-# OPTIONS_HADDOCK not-home #-}
2+
13
-- | Some arithmetic implemented using bit operations
24
--
35
-- Valid for non-negative arguments.

src/Database/LSMTree/Internal/BlobFile.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{-# LANGUAGE TypeFamilies #-}
2+
{-# OPTIONS_HADDOCK not-home #-}
3+
24
module Database.LSMTree.Internal.BlobFile (
35
BlobFile (..)
46
, BlobSpan (..)

src/Database/LSMTree/Internal/BlobRef.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{-# LANGUAGE DeriveGeneric #-}
33
{-# LANGUAGE DerivingStrategies #-}
44
{-# LANGUAGE TypeFamilies #-}
5-
5+
{-# OPTIONS_HADDOCK not-home #-}
66
{- HLINT ignore "Use unless" -}
77

88
module Database.LSMTree.Internal.BlobRef (

src/Database/LSMTree/Internal/BloomFilter.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{-# OPTIONS_HADDOCK not-home #-}
2+
13
module Database.LSMTree.Internal.BloomFilter (
24
bloomFilterToLBS,
35
bloomFilterFromSBS,

src/Database/LSMTree/Internal/BloomFilterQuery1.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
{-# LANGUAGE MagicHash #-}
33
{-# LANGUAGE PatternSynonyms #-}
44
{-# LANGUAGE UnboxedTuples #-}
5+
{-# OPTIONS_HADDOCK not-home #-}
6+
57
module Database.LSMTree.Internal.BloomFilterQuery1 (
68
bloomQueries,
79
RunIxKeyIx(RunIxKeyIx),

src/Database/LSMTree/Internal/BloomFilterQuery2.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
{-# LANGUAGE PatternSynonyms #-}
33
{-# LANGUAGE ScopedTypeVariables #-}
44
{-# LANGUAGE UnboxedTuples #-}
5+
{-# OPTIONS_HADDOCK not-home #-}
56

6-
{-# OPTIONS_GHC -O2 -fregs-iterative -fmax-inline-alloc-size=512 #-}
77
-- The use of -fregs-iterative here does a better job in the hot loop for
88
-- the bloomQueriesBody below. It eliminates all spilling to the stack.
99
-- There's just 6 stack reads in the loop now, no writes.
10+
{-# OPTIONS_GHC -O2 -fregs-iterative -fmax-inline-alloc-size=512 #-}
1011

1112
-- | An implementation of batched bloom filter query, optimised for memory
1213
-- prefetch.

src/Database/LSMTree/Internal/ByteString.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{-# LANGUAGE CPP #-}
22
{-# LANGUAGE MagicHash #-}
33
{-# LANGUAGE UnboxedTuples #-}
4+
{-# OPTIONS_HADDOCK not-home #-}
5+
46
-- | @bytestring@ extras
7+
--
58
module Database.LSMTree.Internal.ByteString (
69
tryCheapToShort,
710
tryGetByteArray,

src/Database/LSMTree/Internal/CRC32C.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{-# LANGUAGE MagicHash #-}
33
{-# LANGUAGE OverloadedStrings #-}
44
{-# LANGUAGE ScopedTypeVariables #-}
5+
{-# OPTIONS_HADDOCK not-home #-}
56

67
-- Needed by GHC <= 9.2 for newtype deriving Prim below
78
{-# LANGUAGE DataKinds #-}

src/Database/LSMTree/Internal/ChecksumHandle.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{-# OPTIONS_HADDOCK not-home #-}
2+
13
module Database.LSMTree.Internal.ChecksumHandle
24
(
35
-- * Checksum handles

0 commit comments

Comments
 (0)