sep -parsec
sepBy p sep parses zero or more occurrences of p, separated by sep. Returns a list of values returned by p.
sepBy1 p sep parses one or more occurrences of p, separated by sep. Returns a list of values returned by p.
Either hsep or vcat
Pe: Punctuation, Close
Selects Unicode space and separator characters.
Zl: Separator, Line
Zp: Separator, Paragraph
Add a trailing file path separator if one is not already present.
> hasTrailingPathSeparator (addTrailingPathSeparator x)
> hasTrailingPathSeparator x ==> addTrailingPathSeparator x == x
> Posix: addTrailingPathSeparator "test/rest" == "test/rest/"
Remove any trailing path separators
> dropTrailingPathSeparator "file/test/" == "file/test"
> Posix: not (hasTrailingPathSeparator (dropTrailingPathSeparator x)) || isDrive x
> Posix: dropTrailingPathSeparator "/" == "/"
> Windows: dropTrailingPathSeparator "\\" == "\\"
File extension character
> extSeparator == '.'
"Paragraph fill" version of sep.
"Paragraph fill" version of sep
Show more results