Skip to content

Commit a45babe

Browse files
committed
Remove unused Internal.union
The API modules all implement union in terms of unions themselves.
1 parent 76c71d1 commit a45babe

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Database/LSMTree/Internal.hs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ module Database.LSMTree.Internal (
6767
-- * Mutiple writable tables
6868
, duplicate
6969
-- * Table union
70-
, union
7170
, unions
7271
) where
7372

@@ -1348,15 +1347,6 @@ duplicate t@Table{..} = do
13481347
Table union
13491348
-------------------------------------------------------------------------------}
13501349

1351-
{-# SPECIALISE union :: Table IO h -> Table IO h -> IO (Table IO h) #-}
1352-
-- | See 'Database.LSMTree.Normal.union'.
1353-
union ::
1354-
(MonadMask m, MonadMVar m, MonadST m, MonadSTM m)
1355-
=> Table m h
1356-
-> Table m h
1357-
-> m (Table m h)
1358-
union t1 t2 = unions $ t1 :| [t2]
1359-
13601350
{-# SPECIALISE unions :: NonEmpty (Table IO h) -> IO (Table IO h) #-}
13611351
-- | See 'Database.LSMTree.Normal.unions'.
13621352
unions ::

0 commit comments

Comments
 (0)