Skip to content

Commit d5e1236

Browse files
authored
Merge pull request #714 from IntersectMBO/wenkokke/doc-merge-imports
fix: merge imports in docs
2 parents d9d93c5 + 6c8298b commit d5e1236

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Database/LSMTree.hs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -278,11 +278,7 @@ The examples in this module use the preamble described in this section, which do
278278
279279
This module is intended to be imported qualified, to avoid name clashes with Prelude functions.
280280
281-
>>> :{
282-
import Database.LSMTree (BlobRef, Cursor, RawBytes, ResolveValue (..),
283-
SerialiseKey (..), SerialiseValue (..), Session, Table)
284-
:}
285-
281+
>>> import Database.LSMTree (BlobRef, Cursor, RawBytes, ResolveValue (..), SerialiseKey (..), SerialiseValue (..), Session, Table)
286282
>>> import qualified Database.LSMTree as LSMT
287283
288284
=== Defining key, value, and BLOB types
@@ -344,7 +340,7 @@ The examples in this module are wrapped in a call to @runExample@,
344340
which creates a temporary session directory and
345341
runs the example with access to an open 'Session' and a fresh 'Table'.
346342
347-
>>> import Control.Exception (bracket, bracket_, finally)
343+
>>> import Control.Exception (bracket, bracket_)
348344
>>> import Data.Foldable (traverse_)
349345
>>> import qualified System.Directory as Dir
350346
>>> import System.FilePath ((</>))

0 commit comments

Comments
 (0)