jdantonio / functional-ruby

A gem for adding functional programming tools to Ruby. Inspired by Erlang, Clojure, Haskell, and Functional Java.

Home Page:http://www.functional-ruby.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New feature ideas?

jdantonio opened this issue · comments

This is an open thread to discuss potential new features.

Most of my personal open source time is currently dedicated to concurrent-ruby so I don't spend much time on this gem, but I am very fond of it and would love to see it grow and prosper. I'm open to any suggestions from the community for new features.

Interesting project! Before I use it, I would want there to be a "structure" type class that has an update method, which will "merge" values from the original structure into a new structure, which it returns.

@joelmccracken Perhaps ImmutableStruct from concurrent-ruby and its #merge method may suit your needs?

Yep, this looks exactly like what I was describing!

On Sun, Mar 13, 2016 at 9:23 PM, jdantonio notifications@github.com wrote:

@joelmccracken https://github.com/joelmccracken Perhaps ImmutableStruct
from concurrent-ruby and its #merge method
http://ruby-concurrency.github.io/concurrent-ruby/Concurrent/ImmutableStruct.html#merge-instance_method
may suit your needs?


Reply to this email directly or view it on GitHub
#30 (comment)
.