Skip to content

It takes a functional approach to the common Enumerable protocol of select, collect, and reject. It also incorporates higher order methods.

License

Notifications You must be signed in to change notification settings

btbuxton/ruby-lazyenum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an experimental project where I was inspired by the trampoline pattern in objective-c. I wanted to see how it translated to Ruby and if it was usable in that context. Along the way, I decided to make the collections lazy to take a more functional approach. What I was left with was the functional approach and very little of the trampoline pattern. While in some cases, it is useful, it is hard to debug. Besides, I think lazy collections are very fast for last collections and you need to do a lot of operations on them. But, take it for what it is. An in-progress experiment that I try out ideas on.

About

It takes a functional approach to the common Enumerable protocol of select, collect, and reject. It also incorporates higher order methods.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published