Console

object Console
Companion:
class
class Object
trait Matchable
class Any
Console.type

Value members

Concrete methods

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

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
def make[F[_]](implicit F: Sync[F]): Console[F]

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

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

Implicits

Implicits

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

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.

implicit def catsIorTConsole[F[_] : Functor, L]: Console[[_] =>> IorT[F, L, _$16]]

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.

implicit def catsKleisliConsole[F[_] : Console, R]: Console[[_] =>> Kleisli[F, R, _$8]]

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.

implicit def catsOptionTConsole[F[_] : Functor]: Console[[_] =>> OptionT[F, _$10]]

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.

implicit def catsReaderWriterStateTConsole[F[_] : Applicative, E, L : Monoid, S]: Console[[_] =>> ReaderWriterStateT[F, E, L, S, _$18]]

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.

implicit def catsStateTConsole[F[_] : Applicative, S]: Console[[_] =>> StateT[F, S, _$12]]

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.

implicit def catsWriterTConsole[F[_] : Applicative, L : Monoid]: Console[[_] =>> WriterT[F, L, _$14]]

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.