m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/index.js
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-08-30 16:30:23 -0400
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-08-30 16:30:23 -0400
commit5b77a409c912f7251da8c170bd4a3aa8826d989b (patch)
tree0b3131a6a1c87b7a3af3537d4d548392866bb812 /index.js
parent7efea0582dda35cd7dc0c370ef3b56c84b2f2291 (diff)
Implement again under
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.js b/index.js
index 8c52ad1..740b96e 100644
--- a/index.js
+++ b/index.js
@@ -17,6 +17,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 'a':
+ return D.againUnder(interpret(tree.left), interpret(tree.right))
case 'T':
return D.threshold(interpret(tree.left), interpret(tree.right))
case 'add':