steveklabnik / frappuccino

Functional Reactive Programming in Ruby.
https://github.com/steveklabnik/frappuccino
MIT License
354 stars 33 forks source link

Stream#reduce is aliased to Stream#inject #26

Closed RobotDisco closed 9 years ago

RobotDisco commented 9 years ago

We alias detect -> find and collect -> map probably to match standard(?) functional programming vocabulary, adding an alias for reduce/inject as well.

coveralls commented 9 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 82f4d1fd9079877077928b968e2d4fae1123480d on NaleagDeco:alias-reduce-inject into 70915c069e8e26034a77389f495290915a20e001 on steveklabnik:master.

steveklabnik commented 9 years ago

Great! Thanks! :)