lib/totally_lazy/predicates.rb in totally_lazy-0.1.46 vs lib/totally_lazy/predicates.rb in totally_lazy-0.1.47
- old
+ new
@@ -1,7 +1,7 @@
module Predicates
private
- def _not(pred)
+ def is_not(pred)
-> (bool) { !pred.(bool) }
end
def is_left
-> (either) { either.is_left? }
\ No newline at end of file