:: String -> Text -package:safe

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.
Panics and asserts.
Panics and asserts.
Panics and asserts.
The error used in fixpointToFinal, runFixpoint and runFixpointM when the result of a failed computation is recursively used and somehow visible. You may use this for your own Fixpoint interpreters. The argument should be the name of the interpreter.