Prints a message of type A followed by a new line to the error output using the implicit Show[A]
instance.
Prints a message of type A followed by a new line to the error output using the implicit Show[A]
instance.
Prints a message of type A to the console using the implicit Show[A]
instance.
Prints a message of type A to the console using the implicit Show[A]
instance.
Prints a message of type A followed by a new line to the console using the implicit Show[A]
instance.
Prints a message of type A followed by a new line to the console using the implicit Show[A]
instance.
Reads a line from the console input.
Reads a line from the console input.
a value representing the user's input.
Transforms this console using a FunctionK.
Transforms this console using a FunctionK.
Prints a message to the error output.
Prints a message to the error output.
Prints a message to the console.
Prints a message to the console.
Prints a message to the console followed by a new line.
Prints a message to the console followed by a new line.
Effect type agnostic
Console
with common methods to write and read from the standard console.For an implementation that uses standard input/output, see Console.io (for
Console[IO]
) or SyncConsole.stdio (for anyF[_]: Sync
).Use it either in a DSL style:
Or in Tagless Final encoding: