SeqDeconstructor

zio.blocks.schema.binding.SeqDeconstructor
See theSeqDeconstructor companion trait

The sequence deconstructors for the standard collections.

Attributes

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

Members list

Type members

Classlikes

sealed trait SpecializedIndexed[C[_]] extends SeqDeconstructor[C]

A deconstructor for an array-backed collection (Array, ArraySeq and, on Scala 3 only, IArray) that also reads an element by index. elementType tells which of the typed readers fits, and index must be in 0 until size(c).

A deconstructor for an array-backed collection (Array, ArraySeq and, on Scala 3 only, IArray) that also reads an element by index. elementType tells which of the typed readers fits, and index must be in 0 until size(c).

Attributes

Source
SeqDeconstructor.scala
Supertypes
trait SeqDeconstructor[C]
class Object
trait Matchable
class Any

Givens

Givens

Reads an immutable ArraySeq, including by index.

Reads an immutable ArraySeq, including by index.

Attributes

Source
SeqDeconstructor.scala

Reads a Chunk.

Reads a Chunk.

Attributes

Source
SeqDeconstructor.scala

Reads an immutable IndexedSeq.

Reads an immutable IndexedSeq.

Attributes

Source
SeqDeconstructor.scala

Reads a List.

Reads a List.

Attributes

Source
SeqDeconstructor.scala

Reads an immutable Seq.

Reads an immutable Seq.

Attributes

Source
SeqDeconstructor.scala

Reads an immutable Set.

Reads an immutable Set.

Attributes

Source
SeqDeconstructor.scala

Reads a Vector.

Reads a Vector.

Attributes

Source
SeqDeconstructor.scala

Implicits

Implicits

implicit val arrayDeconstructor: SpecializedIndexed[Array]

Reads an Array, including by index.

Reads an Array, including by index.

Attributes

Source
SeqDeconstructor.scala
implicit val iArrayDeconstructor: SpecializedIndexed[IArray]

Reads an IArray, including by index. Scala 3 only.

Reads an IArray, including by index. Scala 3 only.

Attributes

Source
SeqDeconstructor.scala