Elementor
Provides elementwise functionality.
Authors
- Thomas Sawyer
- George Moschovitis
- Martin DeMello
Notes
- This could have been impemented with a generic Functor, rather than the specialized Elementor, but for the fact Procs can not yet handle blocks.
- There used to be a "Cascading Elementor", but that proved idiotic in the face of adding an instance_eval block to every.
- Any ideas for a better name for accumulate? —gmosx
- The use of every! and it‘s relation to Enumerator still seems a bit off beat. Should every always use map? And another method each?
Copying
Copyright (c) 2006 Thomas Sawyer
Ruby License
This module is free software. You may use, modify, and/or redistribute this software under the same terms as Ruby.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Required Files
- enumerator
- facets/functor