metabahn/pakyow — Issue #33: Binders should be able to modify attributes as well as replace them
Author: hby
Created: 2011-10-24 19:50:36+00:00
State: open
Labels: Enhancement

Currently the Hash that a binder returns is used to supply new values for attributes of the tag being bound. We need to be able to have binders modify attributes is potentially arbitrary ways. Current thinking is to allow binders to be able to supply a lambda that would be called with the current attribute value and it's return value will be used as the new value. This might have some synergy with the additional argument to `bind` to support general and nested hashes.