Skip to content

Commit

Permalink
package convertion perf tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
zachjs committed Feb 22, 2020
1 parent 95524c4 commit b2504af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Convert/Package.hs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ prefixPackageItem packageName idents item =
prefix :: Identifier -> Identifier
prefix x =
if Set.member x idents
then packageName ++ "_" ++ x
then packageName ++ '_' : x
else x
item' = case item of
Function a b x c d -> Function a b (prefix x) c d
Expand Down

0 comments on commit b2504af

Please sign in to comment.