Set package:rio

A set of values a.
Set. Import as:
import qualified RIO.Set as Set
This module does not export any partial or unchecked functions. For those, see RIO.Set.Partial and RIO.Set.Unchecked
set is a synonym for (.~). Setting the 1st component of a pair:
set _1 :: x -> (a, b) -> (x, b)
set _1 = \x t -> (x, snd t)
Using it to rewrite (<$):
set mapped :: Functor f => a -> f b -> f a
set mapped = (<$)
ANSI color codes for accents in the log output. Accent colors are indexed by Int. Default: const "\ESC[92m" -- Bright green, for all indicies
Set format method for messages Default: id
ANSI color codes for LogLevel in the log output. Default: LevelDebug = "\ESC[32m" -- Green LevelInfo = "\ESC[34m" -- Blue LevelWarn = "\ESC[33m" -- Yellow LevelError = "\ESC[31m" -- Red LevelOther _ = "\ESC[35m" -- Magenta
Set the minimum log level. Messages below this level will not be printed. Default: in verbose mode, LevelDebug. Otherwise, LevelInfo.
Refer to setLogMinLevel. This modifier allows to alter the verbose format value dynamically at runtime. Default: in verbose mode, LevelDebug. Otherwise, LevelInfo.
ANSI color codes for secondary content in the log output. Default: "\ESC[90m" -- Bright black (gray)
Do we treat output as a terminal. If True, we will enable sticky logging functionality. Default: checks if the Handle provided to logOptionsHandle is a terminal with hIsTerminalDevice.
Use ANSI color codes in the log output. Default: True if in verbose mode and the Handle is a terminal device.
Use code location in the log output. Default: True if in verbose mode, False otherwise.
Include the time when printing log messages. Default: True in debug mode, False otherwise.
Use the verbose format for printing log messages. Default: follows the value of the verbose flag.
Refer to setLogVerboseFormat. This modifier allows to alter the verbose format value dynamically at runtime. Default: follows the value of the verbose flag.
sets creates an ASetter from an ordinary function. (The only thing it does is wrapping and unwrapping Identity.)
Set the child process's group ID with the POSIX setgid syscall, does nothing on non-POSIX. See child_group. Default: False
Set the child process's user ID with the POSIX setuid syscall, does nothing on non-POSIX. See child_user. Default: False
Should we close all file descriptors besides stdin, stdout, and stderr? See close_fds for more information. Default: False
Should we create a new process group? Default: False
Create new console on Windows, see create_new_console. Default: False
Delegate handling of Ctrl-C to the child. For more information, see delegate_ctlc. Default: False
Detach console on Windows, see detach_console. Default: False
Set a new session with the POSIX setsid syscall, does nothing on non-POSIX. See new_session. Default: False
Set the child's standard error stream to the given StreamSpec. Default: inherit