From b5ff89d417c73d74a42a1756cb3ecd99b7a3e7f4 Mon Sep 17 00:00:00 2001 From: Jed Barber Date: Wed, 12 Mar 2014 02:17:25 +1100 Subject: Removed some superfluous lambdas in intermediate functions --- Library/Parse.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Library/Parse.hs') 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 -- cgit