Usage
setEntry!(p, v)
setKey!(p, k)
Signatures
setEntry!: (%, V) V setKey!: (%, K) K
Parameter | Type | Description |
---|---|---|
p | % | a key-entry pair |
k | K | a key |
v | V | an entry |
Description
setEntry!(p, v) (resp. setKey!(p, k)) changes the entry (resp. key) of p to v (resp. k) and returns v (resp. k).