Browse files

[cleanup] stdlib,order: factorize comparison with ordering

  • Loading branch information...
1 parent b403592 commit be59d03a4ed9c6df8366ce8061a176f5c616af65 @OpaOnWindowsNow OpaOnWindowsNow committed May 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 stdlib/core/order.opa
View
4 stdlib/core/order.opa
@@ -1,5 +1,5 @@
/*
- Copyright © 2011 MLstate
+ Copyright © 2011, 2012 MLstate
This file is part of OPA.
@@ -63,7 +63,7 @@
@abstract type order('item, 'label) = ('item, 'item -> Order.ordering)
@abstract type Order.default = void
@opacapi
-type Order.comparison = {lt} / {gt} / {eq} / {neq}
+type Order.comparison = Order.ordering / {neq}
type Order.ordering = {lt} / {gt} / {eq}
/**

0 comments on commit be59d03

Please sign in to comment.