aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/abstract/order.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/test/lux/abstract/order.lux')
-rw-r--r--stdlib/source/test/lux/abstract/order.lux40
1 files changed, 20 insertions, 20 deletions
diff --git a/stdlib/source/test/lux/abstract/order.lux b/stdlib/source/test/lux/abstract/order.lux
index 0092ab8bb..a4a500370 100644
--- a/stdlib/source/test/lux/abstract/order.lux
+++ b/stdlib/source/test/lux/abstract/order.lux
@@ -33,23 +33,23 @@
(# rightO < right right))
(bit#= (# leftO < left right)
(# rightO < left right))))))]])
- ($_ _.and
- (_.for [/.functor]
- ($contravariant.spec equivalence n.order /.functor))
- (_.cover [/.Choice /.min /.max]
- (n.< (/.max n.order left right)
- (/.min n.order left right)))
- (_.cover [/.Comparison /.>]
- (not (bit#= (n.< left right)
- (/.> n.order left right))))
- (_.cover [/.<=]
- (and (/.<= n.order left left)
- (/.<= n.order right right)
- (bit#= (# n.order < left right)
- (/.<= n.order left right))))
- (_.cover [/.>=]
- (and (/.>= n.order left left)
- (/.>= n.order right right)
- (bit#= (/.> n.order left right)
- (/.>= n.order left right))))
- )))
+ (all _.and
+ (_.for [/.functor]
+ ($contravariant.spec equivalence n.order /.functor))
+ (_.cover [/.Choice /.min /.max]
+ (n.< (/.max n.order left right)
+ (/.min n.order left right)))
+ (_.cover [/.Comparison /.>]
+ (not (bit#= (n.< left right)
+ (/.> n.order left right))))
+ (_.cover [/.<=]
+ (and (/.<= n.order left left)
+ (/.<= n.order right right)
+ (bit#= (# n.order < left right)
+ (/.<= n.order left right))))
+ (_.cover [/.>=]
+ (and (/.>= n.order left left)
+ (/.>= n.order right right)
+ (bit#= (/.> n.order left right)
+ (/.>= n.order left right))))
+ )))