diff options
Diffstat (limited to 'Library/Parse.hs')
-rw-r--r-- | Library/Parse.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Parse.hs b/Library/Parse.hs index 0e2aa25..7494822 100644 --- a/Library/Parse.hs +++ b/Library/Parse.hs @@ -39,9 +39,7 @@ removeQuotes = init . tail separateBy :: Char -> String -> [String] separateBy char list = - let f = (\x -> if (x == char) - then ' ' - else x) + let f x = if (x == char) then ' ' else x in words . (map f) $ list |