fantasy-lenses
fantasy-lenses copied to clipboard
Is map correct?
@puffnfresh would you expect the following be correct?
var x = {a:{x:1}};
Lens.objectLens('a').andThen(Lens.objectLens('x')).run(x).map(function(o) {
console.log(o); // Expect {x:1}, Received {a:{x:1}}
return o;
}).extract();
Looks very broken! :ghost: