Class LFork
Object
|
+--Lens
|
+--LFork
- class
LFork
- extends Lens
A simplified LXfork. The concrete tree is split based on a predicate
over properties; the object composed of passing properties is passed to
pass_lens, and whatever remains is passed to fail_lens. On putback, the
same predicate is used on both the abstract and the concrete trees.
Defined in lens.js
|
Field Summary |
Object |
name
|
|
Constructor Summary |
LFork(<function> pred, <Lens> pass_lens, <Lens> fail_lens)
|
name
Object name
LFork
LFork(<function> pred, <Lens> pass_lens, <Lens> fail_lens)
Parameters:
pred - The predicate on properties
pass_lens - The lens through which the object composed of passing properties will be passed
fail_lens - The lens through which the failing-property object will be passed
Documentation generated by
JSDoc on Wed Feb 14 15:36:01 2007