aboutsummaryrefslogtreecommitdiffstats
path: root/lib/logic.moon
diff options
context:
space:
mode:
Diffstat (limited to 'lib/logic.moon')
-rw-r--r--lib/logic.moon4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/logic.moon b/lib/logic.moon
index d2144f6..b4c6cf7 100644
--- a/lib/logic.moon
+++ b/lib/logic.moon
@@ -5,7 +5,7 @@ all_same = (first, list) ->
if v != first
return false
- true
+ first
tobool = (val) ->
switch val
@@ -83,9 +83,7 @@ class not_eq extends Op
diff = true
for a=1, #@inputs-1
for b=a+1, #@inputs
- print @inputs[a], @inputs[b]
if @inputs[a].stream == @inputs[b].stream
- print "found a match #{a} == #{b}"
diff = false
break