mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-21 00:52:51 -06:00
Fixed typo in overload.tr.
This commit is contained in:
@@ -93,7 +93,7 @@ Ord : Type -> Type
|
|||||||
Ord A = sig { compare : A -> A -> Ordering }
|
Ord A = sig { compare : A -> A -> Ordering }
|
||||||
|
|
||||||
compare : (A : Type) -> Ord A -> A -> A -> Ordering
|
compare : (A : Type) -> Ord A -> A -> A -> Ordering
|
||||||
compare _ d = compare
|
compare _ d = d.compare
|
||||||
|
|
||||||
ordOp : (Ordering -> Bool) -> (A : Type) -> Ord A -> A -> A -> Bool
|
ordOp : (Ordering -> Bool) -> (A : Type) -> Ord A -> A -> A -> Bool
|
||||||
ordOp f A d x y = f (compare A d x y)
|
ordOp f A d x y = f (compare A d x y)
|
||||||
|
|||||||
Reference in New Issue
Block a user