diff options
Diffstat (limited to 'stdlib/source/lux/control/predicate.lux')
-rw-r--r-- | stdlib/source/lux/control/predicate.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/control/predicate.lux b/stdlib/source/lux/control/predicate.lux index f4ca17d70..641a90b28 100644 --- a/stdlib/source/lux/control/predicate.lux +++ b/stdlib/source/lux/control/predicate.lux @@ -8,7 +8,7 @@ (do-template [<name> <combo>] [(def: #export (<name> left right) (All [a] (-> (Pred a) (Pred a) (Pred a))) - (function [value] + (function (_ value) (<combo> (left value) (right value))))] @@ -22,7 +22,7 @@ (def: #export (difference sub base) (All [a] (-> (Pred a) (Pred a) (Pred a))) - (function [value] + (function (_ value) (and (base value) (not (sub value))))) |