on master help sign in
Rename Elm.ModuleName.toSlashPath to toFilePath
ca9ed29Evan Czaplicki
compiler/src/Elm/ModuleName.hs+3−3
@@ -3,7 +3,7 @@ module Elm.ModuleName
3 ( Raw
3 ( Raw
4 , toChars
4 , toChars
5 , toString
5 , toString
6− , toSlashPath
6+ , toFilePath
7 , toHyphenPath
7 , toHyphenPath
8 , fromHyphenPath
8 , fromHyphenPath
9 , encode
9 , encode
@@ -51,8 +51,8 @@ toString =
51 Name.toUtf8
51 Name.toUtf8
52
52
53
53
54−toSlashPath :: Raw -> FilePath
54+toFilePath :: Raw -> FilePath
55−toSlashPath name =
55+toFilePath name =
56 map (\c -> if c == '.' then FP.pathSeparator else c) (Name.toChars name)
56 map (\c -> if c == '.' then FP.pathSeparator else c) (Name.toChars name)
57
57
58
58