edward

An extensible POSIX-compatible implementation of the ed(1) text editor

git clone https://git.8pit.net/edward.git

1trim :: T.Text -> T.Text
2trim = rtrim . ltrim
3  where
4    ltrim :: T.Text -> T.Text
5    ltrim = T.dropWhile isSpace