lib/totally_lazy/predicates.rb in totally_lazy-0.1.45 vs lib/totally_lazy/predicates.rb in totally_lazy-0.1.46

- old
+ new

@@ -18,6 +18,10 @@ def equal_to?(that) ->(this) { this == that } end alias is equal_to? + + def where(fn, predicate) + ->(value) { predicate.(fn.(value)) } + end end \ No newline at end of file