README.md in haskell-0.0.3 vs README.md in haskell-0.1.0

- old
+ new

@@ -7,15 +7,15 @@ ```rb require 'haskell' # ex1: (Ruby 2.1.0+) class MyClass - type Numeric >= Numeric >= Numeric, def sum(x, y) + type Numeric, Numeric >= Numeric, def sum(x, y) x + y end - type Numeric >= Numeric >= Numeric, def wrong_sum(x, y) + type Numeric, Numeric >= Numeric, def wrong_sum(x, y) 'string' end end MyClass.new.sum(1, 2) @@ -45,21 +45,21 @@ # ex3: (Ruby 1.8.0+) class MyClass def sum(x, y) x + y end - type Numeric >= Numeric >= Numeric, :sum + type Numeric, Numeric >= Numeric, :sum end ``` ## Feature ### Typed method can coexist with non-typed method ```ruby # It's totally OK!! class MyClass - type Numeric >= Numeric >= Numeric, def sum(x, y) + type Numeric, Numeric >= Numeric, def sum(x, y) x + y end def wrong_sum(x, y) 'string' @@ -97,16 +97,26 @@ Or install it yourself as: $ gem install haskell -## Contributing -1. Fork it ( https://github.com/[my-github-username]/haskell/fork ) -2. Create your feature branch (`git checkout -b my-new-feature`) -3. Commit your changes (`git commit -am 'Add some feature'`) -4. Push to the branch (`git push origin my-new-feature`) -5. Create a new Pull Request +### Contributing +Fork it ( https://github.com/[my-github-username]/haskell/fork ) + +Create your feature branch (`git checkout -b my-new-feature`) + + $ bundle install --path vendor/bundle + +Commit your changes (`git commit -am 'Add some feature'`) + + $ bundle exec rake test + + > 5 runs, 39 assertions, 0 failures, 0 errors, 0 skips + +Push to the branch (`git push origin my-new-feature`) + +Create a new Pull Request ## Credits [@chancancode](https://github.com/chancancode) first brought this to my attention. I've stolen some idea from him.