Seq

zio.blocks.schema.binding.Binding.Seq
See theSeq companion object
final case class Seq[C[_], +A](constructor: SeqConstructor[C], deconstructor: SeqDeconstructor[C]) extends Binding[Seq[C], C[A]]

The binding of a sequence node for the collection type constructor C: constructor builds a C[A] element by element, and deconstructor reads one back as its elements and size. Neither depends on the element type A, so one binding serves every element type, which is why BindingResolver stores sequence bindings by C alone.

Attributes

Companion
object
Source
Binding.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Binding[Seq[C], C[A]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala