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
          
   
Fields inherited from class Lens
name
 
Constructor Summary
LFork(<function> pred, <Lens> pass_lens, <Lens> fail_lens)
           
   
Methods inherited from class Lens
error, getput, putget, putput, get_is, putback_is, get_throws, putback_throws
 

Field Detail

name

Object name

Constructor Detail

LFork

LFork(<function> pred, <Lens> pass_lens, <Lens> fail_lens)


Documentation generated by JSDoc on Wed Feb 14 15:36:01 2007