aboutsummaryrefslogtreecommitdiffstats
path: root/src/Types.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Types.hs')
-rw-r--r--src/Types.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Types.hs b/src/Types.hs
index 4ade835..2c29e15 100644
--- a/src/Types.hs
+++ b/src/Types.hs
@@ -36,7 +36,7 @@ instance (Show AST) where
show (ASTVector v) = "[" ++ L.intercalate " " (map show v) ++ "]"
show (ASTFunctionCall v) = "(" ++ L.intercalate " " (map show v) ++ ")"
show (ASTHashMap m) =
- let flattenMap = M.assocs .> map (\(k, v) -> [k, v]) .> concat
+ let flattenMap = M.assocs .> L.concatMap (\(k, v) -> [k, v])
in "{" ++ L.intercalate " " (map show $ flattenMap m) ++ "}"
show (ASTFunction _) = "<fn>"