Skip to content

Commit e9d3451

Browse files
committed
Remove redundant constraint
1 parent 4c0b80e commit e9d3451

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • share-api/src/Share/Web/UCM/HistoryComments

share-api/src/Share/Web/UCM/HistoryComments/Impl.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ downloadHistoryCommentsStreamImpl mayCallerUserId br@(BranchRef branchRef) conn
168168

169169
-- Re-run the given STM action at most n times, collecting the results into a list.
170170
-- If the action returns Nothing, stop and return what has been collected so far, along with a Bool indicating whether the action was exhausted.
171-
fetchChunk :: (Show a) => Int -> STM (Maybe a) -> STM ([a], Bool)
171+
fetchChunk :: Int -> STM (Maybe a) -> STM ([a], Bool)
172172
fetchChunk size action = do
173173
let go 0 = pure ([], False)
174174
go n = do

0 commit comments

Comments
 (0)