From f465dadef3f658e769a0ff05db1cf3a0f08d239c Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sun, 4 Oct 2015 19:21:44 +0200 Subject: Bugfix in while loop....... --- rip.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rip.hs') 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) -- cgit v1.2.3-70-g09d2