Skip to content

Commit dc6d15e

Browse files
committed
Formatting
1 parent 9d13a69 commit dc6d15e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

beam-core/Database/Beam/Query/Combinators.hs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -339,9 +339,9 @@ limit_ limit' (Q q) =
339339

340340
-- | Conditionally limit the number of results returned by a query.
341341
limitMaybe_ :: forall s a be db
342-
. ( Projectible be a
343-
, ThreadRewritable (QNested s) a )
344-
=> Maybe Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
342+
. ( Projectible be a
343+
, ThreadRewritable (QNested s) a )
344+
=> Maybe Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
345345
limitMaybe_ (Just limit') (Q q) =
346346
Q (liftF (QLimit limit' q (rewriteThread (Proxy @s))))
347347
limitMaybe_ Nothing (Q q) = Q (unsafeCoerce q)
@@ -356,9 +356,9 @@ offset_ offset' (Q q) =
356356

357357
-- | Conditionally drop the first `offset'` results.
358358
offsetMaybe_ :: forall s a be db
359-
. ( Projectible be a
360-
, ThreadRewritable (QNested s) a )
361-
=> Maybe Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
359+
. ( Projectible be a
360+
, ThreadRewritable (QNested s) a )
361+
=> Maybe Integer -> Q be db (QNested s) a -> Q be db s (WithRewrittenThread (QNested s) s a)
362362
offsetMaybe_ (Just offset') (Q q) =
363363
Q (liftF (QOffset offset' q (rewriteThread (Proxy @s))))
364364
offsetMaybe_ Nothing (Q q) = Q (unsafeCoerce q)

0 commit comments

Comments
 (0)