Specify a type to deal with FTP

This commit is contained in:
Andrew Gibiansky 2015-05-29 13:55:30 +02:00
parent 7cb8a2cafc
commit 0b6185ee8f

View File

@ -10,7 +10,7 @@ import IHaskellPrelude
import qualified Data.Text as T
lstrip :: String -> String
lstrip = dropWhile (`elem` " \t\r\n")
lstrip = dropWhile (`elem` (" \t\r\n" :: String))
rstrip :: String -> String
rstrip = reverse . lstrip . reverse