From 9263ec22c381ea426819317158d19d9aff1889da Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Mon, 10 Feb 2014 19:53:40 +1100 Subject: Added Eq derivation for FractranProgram and ThueProgram datatypes --- Thue/Parser.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Thue') diff --git a/Thue/Parser.hs b/Thue/Parser.hs index 948035d..d9db99d 100644 --- a/Thue/Parser.hs +++ b/Thue/Parser.hs @@ -12,7 +12,7 @@ import Text.ParserCombinators.Parsec data ThueProgram = ThueProgram { thueRules :: [ThueRule] , thueInitialState :: ThueState } - deriving (Show) + deriving (Show, Eq) data ThueRule = ThueRule { original :: ThueState -- cgit