Associations
Association → Object
A simple mapping from one value to another.
a == b → Boolean | a is-a?: Association | b is-a?: Association
Perform a deep equality check.
a -> b → Association
Create a new Association
from a
to b
.
This operator is right-associative and has a very low precedence level:
list lookup: from → in?: [@(ok: any), @none] | list is-a?: List
Looks up a key in a list of Associations
by from
, returning either the association's to
value or @none
.
list find: from → in?: [@(ok: Association), @none] | list is-a?: List
Similar to lookup:
, except it returns the Association
object rather than its to
value.