diff options
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15,6 +15,8 @@ const interpret = tree => { return D.keepLow(interpret(tree.left), interpret(tree.right)) case 'A': return D.again(interpret(tree.left), interpret(tree.right)) + case 'T': + return D.threshold(interpret(tree.left), interpret(tree.right)) case 'add': return D.add(interpret(tree.left), interpret(tree.right)) case 'subtract': |