Create a "literal record" with field value pairs v
:
Create a "literal record" with field value pairs v
:
Rec("name" -> "Hans", "age" -> 7)
This method has nothing dynamic in its nature, but defining
apply
won't allow applyDynamicNamed to get triggered for
calls of the form:
Rec(name = "Hans", age = 7)
Create a "literal record" with field value pairs v
using named
parameters:
Create a "literal record" with field value pairs v
using named
parameters:
Rec(name = "Hans", age = 7)
Extract a sequence of fields out of the record.
Extract a sequence of fields out of the record.