TaggedSortedMap

scalus.cardano.ledger.TaggedSortedMap$package.TaggedSortedMap
object TaggedSortedMap extends TaggedSeq

Attributes

Graph
Supertypes
trait TaggedSeq
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

infix trait KeyOf[K, A] extends A => K

Attributes

Supertypes
trait A => K
class Object
trait Matchable
class Any

Value members

Concrete methods

inline def apply[K, A](s: SortedMap[K, A]): TaggedSortedMap[K, A]
inline def apply[K : Ordering, A](s: A*)(implicit evidence$1: Ordering[K], KeyOf[K, A]): TaggedSortedMap[K, A]
inline def empty[K : Ordering, A]: TaggedSortedMap[K, A]
def from[K : Ordering, A](s: IterableOnce[A])(implicit evidence$1: Ordering[K], keyOf: KeyOf[K, A]): TaggedSortedMap[K, A]

Inherited methods

def checkDuplicates[A](src: IterableOnce[A]): IndexedSeq[A]

Attributes

Inherited from:
TaggedSeq
def checkNonEmpty[A](src: IterableOnce[A]): IndexedSeq[A]

Attributes

Inherited from:
TaggedSeq
def readTagged[A : Decoder](r: Reader): IndexedSeq[A]

Attributes

Inherited from:
TaggedSeq
def writeTagged[A : Encoder](w: Writer, v: IterableOnce[A]): Writer

Attributes

Inherited from:
TaggedSeq

Givens

Givens

given given_Decoder_TaggedSortedMap[K : Ordering, A : Decoder](using pv: ProtocolVersion = ...)(implicit evidence$1: Ordering[K], evidence$2: Decoder[A], KeyOf[K, A]): Decoder[TaggedSortedMap[K, A]]
given given_Encoder_TaggedSortedMap[K, A : Encoder]: Encoder[TaggedSortedMap[K, A]]

Extensions

Extensions

extension [K, A](s: TaggedSortedMap[K, A])
inline def toMap: Map[K, A]
inline def toSet: Set[A]