alext←{         ⍝ Association list ⍺ extended with pair ⍵.
    ⍺,⍨∘⊂¨⍵     ⍝ list ⍺ with new name and value _prefixed_.
}
code_colours

test script

Back to: notes

Back to: Workspaces