aboutsummaryrefslogtreecommitdiffstats
path: root/src/Utils.hs
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-12-09 18:16:41 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2022-12-09 18:16:41 +0200
commitcff5a0dfa89ab3a7f95512382cedf88f8e1709d1 (patch)
treed6b49f3a49d623fdac1042b6de280886f587e5a1 /src/Utils.hs
parent0ec99f0ddba6084df7c78ff905849a9d3d0a3c5b (diff)
Fix purity issue
Diffstat (limited to 'src/Utils.hs')
-rw-r--r--src/Utils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.hs b/src/Utils.hs
index 2561969..379740d 100644
--- a/src/Utils.hs
+++ b/src/Utils.hs
@@ -123,7 +123,7 @@ instance (Eq Token) where
instance (Show Token) where
show token = show $ tokenContent token
-data Purity = Pure | Impure deriving Eq
+data Purity = Pure | Impure deriving (Eq, Show)
type LFunction = AST -> LContext AST
type LRecord = M.Map String AST