A library to use Haskell's ++ operator in Ruby.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
haskell.rb

README

* What is this

  A library to use Haskell's ++ operator in Ruby.

* How to use

  Add following line to your Ruby script:

  require 'haskell'

* Example

  p [1, 2, 3]  # => [1, 2, 3]
  p [1, 2, 3] ++ [2, 3, 4]   # => Error!
  require "haskell"
  p [1, 2, 3] ++ [2, 3, 4]   # => [1,2,3,2,3,4]
  p "hogehoge" ++ "fugafuga" # => "hogehogefugafuga"


* Author

  Hiromi Ishii <mr_konn(at)jcom(dot)home(dot)ne(dot)jp>