:: String -> Text

O(n) Convert a String into a Text. Performs replacement on invalid scalar values, so unpack . pack is not id:
>>> Data.Text.unpack (pack "\55555")
"\65533"
O(n) Convert a String into a Text. Performs replacement on invalid scalar values, so unpack . pack is not id:
>>> Data.Text.Lazy.unpack (Data.Text.Lazy.pack "\55555")
"\65533"
Show a process arg including speechmarks when necessary. Just for debugging purposes, not functionally important.
O(n) Convert a String into a Text. Subject to fusion. Performs replacement on invalid scalar values.
O(n) Convert a String into a Text. Subject to fusion. Performs replacement on invalid scalar values.
Similar to pShow, but the first argument is a String representing a data type that has already been showed. This will work on any String that is similar to a Haskell data type. The only requirement is that the strings are quoted, and braces, parentheses, and brackets are correctly used to represent indentation. For example, pString will correctly pretty-print JSON. This function is for printing to a dark background. See pStringNoColor for an example of how to use this function.
Alias for pString.
Just like pStringDarkBg, but for printing to a light background.
LIke pString, but without color.
>>> pStringNoColor $ show [1, 2, 3]
"[ 1\n, 2\n, 3\n]"
Raises an error with a printf-specific prefix on the message string.
Deprecated: error appends the call stack now
Raises a SizeOverflowException, with a message using the given function name.
Synonym for error. Used for instances where the program has decided to exit because of invalid user input, or the user pressed quit etc. This function allows error to be reserved for programmer errors.
Panics and asserts.
Panics and asserts.
Panics and asserts.