Sha256: 62bde8eeb178d4571c640ba8024df4f4be463b92b2883ec42de33b3d4dcde17d

Contents?: true

Size: 292 Bytes

Versions: 6

Compression:

Stored size: 292 Bytes

Contents

$LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__) + "/../lib")

require "bundler/setup"
require "pry"
require "ribimaybe"
require "rubygems"

RSpec.configure do |config|
end

module Composable
  def compose(f, g)
    ->(x){f.(g.(x))}
  end

  def *(g)
    compose(self, g)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ribimaybe-0.1.0 spec/spec_helper.rb
ribimaybe-0.0.13 spec/spec_helper.rb
ribimaybe-0.0.12 spec/spec_helper.rb
ribimaybe-0.0.11 spec/spec_helper.rb
ribimaybe-0.0.10 spec/spec_helper.rb
ribimaybe-0.0.9 spec/spec_helper.rb