summaryrefslogtreecommitdiff
path: root/src/Thue
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2014-04-14 03:47:21 +1000
committerJed Barber <jjbarber@y7mail.com>2014-04-14 03:47:21 +1000
commit15109461d3fb4734f90c9d2663d1bf6e7dbc7e72 (patch)
treed60ca7402a9be9b8f76af0dbd57d79ef12617494 /src/Thue
parent07812f903e0d09b4bb8c2ff9ac4310eb0d3ab8ee (diff)
Now assumes version 1 unless specified otherwise
Diffstat (limited to 'src/Thue')
-rw-r--r--src/Thue/Interpreter.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Thue/Interpreter.hs b/src/Thue/Interpreter.hs
index c9758a0..c3bdde2 100644
--- a/src/Thue/Interpreter.hs
+++ b/src/Thue/Interpreter.hs
@@ -56,7 +56,7 @@ applyRule :: ThueVersion -> ThueRule -> ThueState -> IO ThueState
applyRule ver rule state =
let (before, after) = fromJust (extractInfix (original rule) state)
- inputProc = if (ver == Ver1) then return . tStr else return . tLitStr
+ inputProc = if (ver == Ver2a) then return . tLitStr else return . tStr
in case (replacement rule) of
x | x == (tStr ":::") ->