Infer

zio.blocks.streams.JvmType.Infer
See theInfer companion object
sealed trait Infer[A]

A type class that records at compile time which JVM type A maps to.

Invariant in A, so primitive evidence cannot accidentally satisfy Infer[Nothing] and fallback evidence cannot drive output inference toward Any when the precise primitive type is available.

Adding (implicit jt: JvmType.Infer[A]) to a method is always source-compatible — it never fails to resolve.

Attributes

Companion
object
Source
JvmType.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

The JvmType tag for A, or AnyRef for reference types.

The JvmType tag for A, or AnyRef for reference types.

Attributes

Source
JvmType.scala

Concrete methods

final def isByte: Boolean

Convenience check: true when A is Byte.

Convenience check: true when A is Byte.

Attributes

Source
JvmType.scala