(prefix)
| 55 | } |
| 56 | |
| 57 | test(prefix) { |
| 58 | let {args, returns} = this.resolve(prefix); |
| 59 | // @TODO: this is expensive, we should probably try to cache the split somehow |
| 60 | return args[0].split(args[1])[returns[1]] === returns[0]; |
| 61 | } |
| 62 | |
| 63 | getProposal(tripleIndex, proposed, prefix) { |
| 64 | let {args} = this.resolve(prefix); |