It wraps inside JQuery and comes with tests up in QUnit.
(JQuery dependency currently limited to the handy $.extend and $.isFunction)
Must say getting my head around things asked more time then I initially
expected: clarity and elegance of the syntax and explanation did hide
quite some more special cases then I would of have thought of.
One case I still haven't ironed out, to the extend I'm liking my
solution more :) is this: