Go to the first, previous, next, last section, table of contents.


|keysvalsUniq

Function: |keysvalsUniq { [] -> [] }
file: job.t
package: muf
status: alpha

Drop all adjacent keyval pairs with the same key in a block:

Stack: [ 0 'a' 1 'b' 0 'c' 1 'd' |
|keysvalsSort
Stack: [ 0 'c' 0 'a' 1 'b' 1 'd' |
|pairsSort
Stack: [ 0 'a' 0 'c' 1 'b' 1 'd' |
|pairsUniq
Stack: [ 0 'a' 0 'c' 1 'b' 1 'd' |
|keysvalsUniq
Stack: [ 0 'a' 1 'b' |

See section |keysvalsSort. See section |pairsSort. See section |pairsUniq.


Go to the first, previous, next, last section, table of contents.