mirror of
https://github.com/IHaskell/IHaskell.git
synced 2025-04-19 12:56:08 +00:00
Specify a type to deal with FTP
This commit is contained in:
parent
7cb8a2cafc
commit
0b6185ee8f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user