Skip to content

Commit

Permalink
Fix some markup in haddocks
Browse files Browse the repository at this point in the history
This closes #315.
  • Loading branch information
abigailalice committed Mar 22, 2024
1 parent 4c18447 commit 6862359
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Rel8/Statement.hs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ data Returning where
-- delete Delete
-- { from = fooSchema
-- , using = pure ()
-- , deleteWhere = \_ -> predicate
-- , deleteWhere = \\_ -> predicate
-- , returning = Returning id
-- }
-- insert Insert
Expand Down
4 changes: 2 additions & 2 deletions src/Rel8/Window.hs
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ newtype Partition a = Partition (Opaleye.Window a)

-- | 'over' adds a 'Partition' to a 'Window' expression.
--
-- @@@
-- @
-- 'Rel8.Table.Window.cumulative' ('Rel8.Expr.Aggregate.sum' . salary) `over` 'partitionBy' department <> 'orderPartitionBy' (salary >$< 'Rel8.desc')
-- @@@
-- @
over :: Window a b -> Partition a -> Window a b
over (Window (Opaleye.Windows (Opaleye.PackMap w))) (Partition p) =
Window $ Opaleye.Windows $ Opaleye.PackMap $ \f ->
Expand Down

0 comments on commit 6862359

Please sign in to comment.