derekelkins/slgjs

Add as patterns

Opened this issue · 0 comments

Something like: p.as(X).looseMatch({id: 3}) which behaves like conj(p.match(X), slg.looseUnify(X,{id:3})). That is, it binds the full row matched to X.