[[a]] -> [a] -base -template-haskell
Join path elements back together.
> Valid x => joinPath (splitPath x) == x
> joinPath  == ""
> Posix: joinPath ["test","file","path"] == "test/file/path"
Given a program p and arguments args, showCommandForUser p args returns a string suitable for pasting into sh (on POSIX OSs) or cmd.exe (on Windows).
O(n) The transpose function transposes the rows and columns of its Text argument. Note that this function uses pack, unpack, and the list version of transpose, and is thus not very efficient.
Case normalization; cf. RFC3986 section 188.8.131.52 NOTE: authority case normalization is not performed
Encoding normalization; cf. RFC3986 section 184.108.40.206
Path segment normalization; cf. RFC3986 section 220.127.116.11
Processing Strings into Html friendly things.
Simplifies the input string by interpreting \r and \b characters specially so that the result string has the same final (or terminal, pun intended) appearance as would the input string when written to a terminal that overwrites character positions following carriage returns and backspaces.
Turns all instances of escaped characters in the string back into literal characters.
Converts a single value from the application/x-www-form-urlencoded encoding.
Converts a single value to the application/x-www-form-urlencoded encoding.
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/"
Show more results