From 5b77a409c912f7251da8c170bd4a3aa8826d989b Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Wed, 30 Aug 2017 16:30:23 -0400 Subject: Implement again under --- index.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'index.js') 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': -- cgit v1.2.3