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
Members list
In this article