Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
34696c11
Commit
34696c11
authored
Dec 31, 2014
by
Andrey Mokhov
Browse files
Fix replaceSeparators in Util.hs.
parent
d043ef59
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Util.hs
View file @
34696c11
...
...
@@ -13,7 +13,7 @@ replaceIf p to = map (\from -> if p from then to else from)
replaceEq
::
Eq
a
=>
a
->
a
->
[
a
]
->
[
a
]
replaceEq
from
=
replaceIf
(
==
from
)
replaceSeparators
::
String
->
String
replaceSeparators
::
Char
->
String
->
String
replaceSeparators
=
replaceIf
isPathSeparator
-- Prepare a given 'packaga-data.mk' file for parsing by readConfigFile:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment