1616
1717import static fj .Function .apply ;
1818import static fj .Function .compose ;
19- import static fj .Function .compose2 ;
2019import static fj .Function .curry ;
2120import static fj .Semigroup .semigroup ;
2221import static fj .Semigroup .semigroupDef ;
@@ -90,7 +89,7 @@ public Definition<A> dual() {
9089 /**
9190 * Primitives functions of Ord: alternative minimal definition and overridable methods.
9291 */
93- public interface AlternateDefinition <A > extends Definition <A > {
92+ public interface AltDefinition <A > extends Definition <A > {
9493
9594 Ordering compare (A a1 , A a2 );
9695
@@ -301,7 +300,7 @@ public static <A> Ord<A> ord(final F<A, F<A, Ordering>> f) {
301300 }
302301
303302 /**
304- * Returns an order instance that uses the given minimal equality test and ordering definiion .
303+ * Returns an order instance that uses the given minimal equality test and ordering definition .
305304 *
306305 * @param def The order definition.
307306 * @return An order instance.
@@ -311,12 +310,12 @@ public static <A> Ord<A> ordDef(final Definition<A> def) {
311310 }
312311
313312 /**
314- * Returns an order instance that uses the given minimal equality test and ordering definiion .
313+ * Returns an order instance that uses the given minimal equality test and ordering definition .
315314 *
316315 * @param def The order definition.
317316 * @return An order instance.
318317 */
319- public static <A > Ord <A > ordDef (final AlternateDefinition <A > def ) {
318+ public static <A > Ord <A > ordDef (final AltDefinition <A > def ) {
320319 return new Ord <>(def );
321320 }
322321
0 commit comments