functional-ruby
functional-ruby copied to clipboard
New feature ideas?
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 [email protected] 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 https://github.com/jdantonio/functional-ruby/issues/30#issuecomment-196095727 .