aboutsummaryrefslogtreecommitdiff
path: root/rip.hs
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-10-04 19:21:44 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-10-04 19:21:44 +0200
commitf465dadef3f658e769a0ff05db1cf3a0f08d239c (patch)
treefdd881bcb5f22052417b88f1ccbb5e7e3158bd27 /rip.hs
parent6e05f595786839770fe9cdaa477dd3162f540585 (diff)
Bugfix in while loop.......
Diffstat (limited to 'rip.hs')
-rw-r--r--rip.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rip.hs b/rip.hs
index 14e7f6f..c03330c 100644
--- a/rip.hs
+++ b/rip.hs
@@ -207,7 +207,7 @@ rip' code@(x:xs) fns st = do
newstack <- rip' inblock fns st
if head newstack /= 0
then doloop $ tail newstack
- else return newstack
+ else return $ tail newstack
in if head st /= 0
then do
newstack <- doloop (tail st)