git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Mangle '.' to "$dot"

This should be the last operator needing to be mangled.

commit05b4bdd4b53a05ff675f14698bd98aab5dafed59 authorBrian McKenna <brian@simpleenergy.com> dateFri 31 Jan 2014, 15:20 (13 years ago) parent80141e6
1 file changed+1
src/Language/PureScript/Pretty/Common.hs+1
src/Language/PureScript/Pretty/Common.hs+1
@@ -41,6 +41,7 @@ identToJs (Escaped name) = name
4141identCharToString :: Char -> String
4242identCharToString c | isAlphaNum c = [c]
4343identCharToString '_' = "_"
44+identCharToString '.' = "$dot"
4445identCharToString '$' = "$dollar"
4546identCharToString '~' = "$tilde"
4647identCharToString '=' = "$eq"