Skip to content

Commit

Permalink
fix docs for min function
Browse files Browse the repository at this point in the history
probably a copy paste error from "max"
  • Loading branch information
rtaintor authored Jan 23, 2024
1 parent 2cbf663 commit 35b8740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rel8/Expr/Aggregate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ maxOn :: Sql DBMax a => (i -> Expr a) -> Aggregator1 i (Expr a)
maxOn f = lmap f max


-- | Produce an aggregation for @Expr a@ using the @max@ function.
-- | Produce an aggregation for @Expr a@ using the @min@ function.
min :: Sql DBMin a => Aggregator1 (Expr a) (Expr a)
min =
unsafeMakeAggregator
Expand Down

0 comments on commit 35b8740

Please sign in to comment.