object Console extends ConsoleCompanionCrossPlatform with ConsoleCompanionPlatform
- Source
- Console.scala
- Alphabetic
- By Inheritance
- Console
- ConsoleCompanionPlatform
- ConsoleCompanionCrossPlatform
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[F[_]](implicit C: Console[F]): C.type
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
- Definition Classes
- ConsoleCompanionCrossPlatform
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def catsEitherTConsole[F[_], L](implicit arg0: Console[F], arg1: Functor[F]): Console[[γ$0$]EitherT[F, L, γ$0$]]
Console instance built for
cats.data.EitherT
values initialized with anyF
data type that also implementsConsole
.Console instance built for
cats.data.EitherT
values initialized with anyF
data type that also implementsConsole
.- Definition Classes
- ConsoleCompanionCrossPlatform
- implicit def catsIorTConsole[F[_], L](implicit arg0: Console[F], arg1: Functor[F]): Console[[γ$5$]IorT[F, L, γ$5$]]
Console instance built for
cats.data.IorT
values initialized with anyF
data type that also implementsConsole
.Console instance built for
cats.data.IorT
values initialized with anyF
data type that also implementsConsole
.- Definition Classes
- ConsoleCompanionCrossPlatform
- implicit def catsKleisliConsole[F[_], R](implicit arg0: Console[F]): Console[[γ$1$]Kleisli[F, R, γ$1$]]
Console instance built for
cats.data.Kleisli
values initialized with anyF
data type that also implementsConsole
.Console instance built for
cats.data.Kleisli
values initialized with anyF
data type that also implementsConsole
.- Definition Classes
- ConsoleCompanionCrossPlatform
- implicit def catsOptionTConsole[F[_]](implicit arg0: Console[F], arg1: Functor[F]): Console[[β$2$]OptionT[F, β$2$]]
Console instance built for
cats.data.OptionT
values initialized with anyF
data type that also implementsConsole
.Console instance built for
cats.data.OptionT
values initialized with anyF
data type that also implementsConsole
.- Definition Classes
- ConsoleCompanionCrossPlatform
- implicit def catsReaderWriterStateTConsole[F[_], E, L, S](implicit arg0: Console[F], arg1: Applicative[F], arg2: kernel.Monoid[L]): Console[[ε$6$]IndexedReaderWriterStateT[F, E, L, S, S, ε$6$]]
Console instance built for
cats.data.ReaderWriterStateT
values initialized with anyF
data type that also implementsConsole
.Console instance built for
cats.data.ReaderWriterStateT
values initialized with anyF
data type that also implementsConsole
.- Definition Classes
- ConsoleCompanionCrossPlatform
- implicit def catsStateTConsole[F[_], S](implicit arg0: Console[F], arg1: Applicative[F]): Console[[γ$3$]IndexedStateT[F, S, S, γ$3$]]
Console instance built for
cats.data.StateT
values initialized with anyF
data type that also implementsConsole
.Console instance built for
cats.data.StateT
values initialized with anyF
data type that also implementsConsole
.- Definition Classes
- ConsoleCompanionCrossPlatform
- implicit def catsWriterTConsole[F[_], L](implicit arg0: Console[F], arg1: Applicative[F], arg2: kernel.Monoid[L]): Console[[γ$4$]WriterT[F, L, γ$4$]]
Console instance built for
cats.data.WriterT
values initialized with anyF
data type that also implementsConsole
.Console instance built for
cats.data.WriterT
values initialized with anyF
data type that also implementsConsole
.- Definition Classes
- ConsoleCompanionCrossPlatform
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def make[F[_]](implicit F: kernel.Async[F]): Console[F]
Constructs a
Console
instance forF
data types that are cats.effect.kernel.Async.Constructs a
Console
instance forF
data types that are cats.effect.kernel.Async.- Definition Classes
- ConsoleCompanionPlatform
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def make[F[_]](F: kernel.Sync[F]): Console[F]
- Definition Classes
- ConsoleCompanionPlatform
- Annotations
- @deprecated
- Deprecated
(Since version 3.5.0) Use overload with Async constraint