diff options
author | tomsmeding <hallo@tomsmeding.nl> | 2015-10-04 19:21:44 +0200 |
---|---|---|
committer | tomsmeding <hallo@tomsmeding.nl> | 2015-10-04 19:21:44 +0200 |
commit | f465dadef3f658e769a0ff05db1cf3a0f08d239c (patch) | |
tree | fdd881bcb5f22052417b88f1ccbb5e7e3158bd27 | |
parent | 6e05f595786839770fe9cdaa477dd3162f540585 (diff) |
Bugfix in while loop.......
-rw-r--r-- | ex/primes.rip | 2 | ||||
-rw-r--r-- | rip.hs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ex/primes.rip b/ex/primes.rip index 1f30493..e7d8b0d 100644 --- a/ex/primes.rip +++ b/ex/primes.rip @@ -1 +1 @@ -21W[D1W[dSDD4RDD4r5rqms]P1EI[DO9io]i1] +21W[D1W[dSDD4RDD4r5rqms]1EI[DO9io]i1] @@ -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) |