Sha256: 1d8739036fc762c98eeb8b9f4c24507cebbaaeff00a87a2b4de458c3cfaf0842

Contents?: true

Size: 74 Bytes

Versions: 15

Compression:

Stored size: 74 Bytes

Contents

module Predicates
  def not(pred)
    -> (bool) { !pred.(bool) }
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
totally_lazy-0.1.22 lib/predicates.rb
totally_lazy-0.1.21 lib/predicates.rb
totally_lazy-0.1.20 lib/predicates.rb
totally_lazy-0.1.19 lib/predicates.rb
totally_lazy-0.1.18 lib/predicates.rb
totally_lazy-0.1.17 lib/predicates.rb
totally_lazy-0.1.16 lib/predicates.rb
totally_lazy-0.1.15 lib/predicates.rb
totally_lazy-0.1.14 lib/predicates.rb
totally_lazy-0.1.13 lib/predicates.rb
totally_lazy-0.1.12 lib/predicates.rb
totally_lazy-0.1.11 lib/predicates.rb
totally_lazy-0.1.10 lib/predicates.rb
totally_lazy-0.1.9 lib/predicates.rb
totally_lazy-0.1.0 lib/predicates.rb