Commit b2504afe by Zachary Snow

package convertion perf tweak

parent 95524c46
...@@ -84,7 +84,7 @@ prefixPackageItem packageName idents item = ...@@ -84,7 +84,7 @@ prefixPackageItem packageName idents item =
prefix :: Identifier -> Identifier prefix :: Identifier -> Identifier
prefix x = prefix x =
if Set.member x idents if Set.member x idents
then packageName ++ "_" ++ x then packageName ++ '_' : x
else x else x
item' = case item of item' = case item of
Function a b x c d -> Function a b (prefix x) c d Function a b x c d -> Function a b (prefix x) c d
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment