functional-ruby icon indicating copy to clipboard operation
functional-ruby copied to clipboard

New feature ideas?

Open jdantonio opened this issue 9 years ago • 3 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.

jdantonio avatar Sep 16 '15 14:09 jdantonio

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 avatar Mar 11 '16 19:03 joelmccracken

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

jdantonio avatar Mar 14 '16 01:03 jdantonio

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 .

joelmccracken avatar Mar 14 '16 01:03 joelmccracken