@@ -199,27 +199,27 @@ import Foldable.sentinel
199
199
* @return `None` if the structure is empty, otherwise the minimum element
200
200
* wrapped in a `Some`.
201
201
*
202
- * @see [[Reducible#minimum ]] for a version that doesn't need to return an
202
+ * @see [[Reducible#minimumBy ]] for a version that doesn't need to return an
203
203
* `Option` for structures that are guaranteed to be non-empty.
204
204
*
205
- * @see [[maximumOptionBy ]] for maximum instead of minimum.
205
+ * @see [[maximumByOption ]] for maximum instead of minimum.
206
206
*/
207
- def minimumOptionBy [A , B : Order ](fa : F [A ])(f : A => B )( implicit F : Foldable [ F ] ): Option [A ] =
208
- F . minimumOption(fa)(Order .by(f))
207
+ def minimumByOption [A , B : Order ](fa : F [A ])(f : A => B ): Option [A ] =
208
+ minimumOption(fa)(Order .by(f))
209
209
210
210
/**
211
211
* Find the maximum `A` item in this structure according to an `Order.by(f)`.
212
212
*
213
213
* @return `None` if the structure is empty, otherwise the maximum element
214
214
* wrapped in a `Some`.
215
215
*
216
- * @see [[Reducible#maximum ]] for a version that doesn't need to return an
216
+ * @see [[Reducible#maximumBy ]] for a version that doesn't need to return an
217
217
* `Option` for structures that are guaranteed to be non-empty.
218
218
*
219
- * @see [[minimumOptionBy ]] for minimum instead of maximum.
219
+ * @see [[minimumByOption ]] for minimum instead of maximum.
220
220
*/
221
- def maximumOptionBy [A , B : Order ](fa : F [A ])(f : A => B )( implicit F : Foldable [ F ] ): Option [A ] =
222
- F . maximumOption(fa)(Order .by(f))
221
+ def maximumByOption [A , B : Order ](fa : F [A ])(f : A => B ): Option [A ] =
222
+ maximumOption(fa)(Order .by(f))
223
223
224
224
/**
225
225
* Get the element at the index of the `Foldable`.
0 commit comments