Console

cats.effect.std.Console
See theConsole companion trait
object Console

Attributes

Companion
trait
Source
Console.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Console.type

Members list

Value members

Concrete methods

def make[F[_]](implicit F: Async[F]): Console[F]

Constructs a Console instance for F data types that are cats.effect.kernel.Async.

Constructs a Console instance for F data types that are cats.effect.kernel.Async.

Attributes

Source
Console.scala

Inherited methods

def apply[F[_]](implicit C: Console[F]): Console[F]

Summoner method for Console instances.

Summoner method for Console instances.

For printing to the standard output:

Console[F].print("Hello")
Console[F].println("Hello")

For printing to the standard error:

Console[F].error("Hello")
Console[F].errorln("Hello")

For reading from the standard input:

Console[F].readLine

Attributes

Inherited from:
ConsoleCompanionCrossPlatform (hidden)
Source
ConsoleCrossPlatform.scala

Implicits

Inherited implicits

implicit def catsEitherTConsole[F[_] : Functor, L]: Console[[_] =>> EitherT[F, L, _$5]]

Console instance built for cats.data.EitherT values initialized with any F data type that also implements Console.

Console instance built for cats.data.EitherT values initialized with any F data type that also implements Console.

Attributes

Inherited from:
ConsoleCompanionCrossPlatform (hidden)
Source
ConsoleCrossPlatform.scala
implicit def catsIorTConsole[F[_] : Functor, L]: Console[[_] =>> IorT[F, L, _$15]]

Console instance built for cats.data.IorT values initialized with any F data type that also implements Console.

Console instance built for cats.data.IorT values initialized with any F data type that also implements Console.

Attributes

Inherited from:
ConsoleCompanionCrossPlatform (hidden)
Source
ConsoleCrossPlatform.scala
implicit def catsKleisliConsole[F[_] : Console, R]: Console[[_] =>> Kleisli[F, R, _$7]]

Console instance built for cats.data.Kleisli values initialized with any F data type that also implements Console.

Console instance built for cats.data.Kleisli values initialized with any F data type that also implements Console.

Attributes

Inherited from:
ConsoleCompanionCrossPlatform (hidden)
Source
ConsoleCrossPlatform.scala
implicit def catsOptionTConsole[F[_] : Functor]: Console[[_] =>> OptionT[F, _$9]]

Console instance built for cats.data.OptionT values initialized with any F data type that also implements Console.

Console instance built for cats.data.OptionT values initialized with any F data type that also implements Console.

Attributes

Inherited from:
ConsoleCompanionCrossPlatform (hidden)
Source
ConsoleCrossPlatform.scala
implicit def catsReaderWriterStateTConsole[F[_] : Applicative, E, L : Monoid, S]: Console[[_] =>> ReaderWriterStateT[F, E, L, S, _$17]]

Console instance built for cats.data.ReaderWriterStateT values initialized with any F data type that also implements Console.

Console instance built for cats.data.ReaderWriterStateT values initialized with any F data type that also implements Console.

Attributes

Inherited from:
ConsoleCompanionCrossPlatform (hidden)
Source
ConsoleCrossPlatform.scala
implicit def catsStateTConsole[F[_] : Applicative, S]: Console[[_] =>> StateT[F, S, _$11]]

Console instance built for cats.data.StateT values initialized with any F data type that also implements Console.

Console instance built for cats.data.StateT values initialized with any F data type that also implements Console.

Attributes

Inherited from:
ConsoleCompanionCrossPlatform (hidden)
Source
ConsoleCrossPlatform.scala
implicit def catsWriterTConsole[F[_] : Applicative, L : Monoid]: Console[[_] =>> WriterT[F, L, _$13]]

Console instance built for cats.data.WriterT values initialized with any F data type that also implements Console.

Console instance built for cats.data.WriterT values initialized with any F data type that also implements Console.

Attributes

Inherited from:
ConsoleCompanionCrossPlatform (hidden)
Source
ConsoleCrossPlatform.scala