mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 03:15:26 -07:00
Fixed typo in overload.tr.
This commit is contained in:
1 parent
b846b4c4fd
commit
b6ee983432
1 file changed
+1
-1
@@ -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