Map

zio.blocks.schema.binding.Binding.Map
See theMap companion object
final case class Map[M[_, _], +K, +V](constructor: MapConstructor[M], deconstructor: MapDeconstructor[M]) extends Binding[Map[M], M[K, V]]

The binding of a map node for the map type constructor M: constructor builds an M[K, V] entry by entry, and deconstructor reads one back as its entries. Neither depends on K or V, so one binding serves every key and value type.

Attributes

Companion
object
Source
Binding.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Binding[Map[M], M[K, V]]
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