shared/subset_optimization.js
function isSimple(p){
						return p.type === 'param' || p.type === 'value' ||
							(p.type === 'view' && p.view === 'property' && isSimple(p.params[1]))
					}
function isSimple(p){
						return p.type === 'param' || p.type === 'value' ||
							(p.type === 'view' && p.view === 'property' && isSimple(p.params[1]))
					}
console.log(JSON.stringify([expr.params[1].view === 'property', expr.params[1].params[1].name === implicits[0], expr.params[0].type === 'param'])) console.log(JSON.stringify(expr, null, 2))