Attributes
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Givens
Givens
AssocMap intentionally has no usable Eq: its equality is order-insensitive (same size, every key maps to an equal value), which is non-structural and cannot be expressed by the structural-equality lowering. This given only produces a clear compile error if someone writes m1 === m2 / m1 == m2, or Eq.derived for a type with an AssocMap field. Use AssocMapEq.equals instead.
AssocMap intentionally has no usable Eq: its equality is order-insensitive (same size, every key maps to an equal value), which is non-structural and cannot be expressed by the structural-equality lowering. This given only produces a clear compile error if someone writes m1 === m2 / m1 == m2, or Eq.derived for a type with an AssocMap field. Use AssocMapEq.equals instead.
Attributes
Extensions
Extensions
Optionally returns the value associated with a key.
Optionally returns the value associated with a key.
Value parameters
- key
-
the key value
Attributes
- Returns
-
an option value containing the value associated with
keyin this map, orNoneif none exists.