eis←{                   ⍝ enclose-if-simple / link
    0≠⎕NC'⍺':(∇ ⍺),∇ ⍵  ⍝ dyadic: link
    {⊂1/⍵}⍣(1=≡,⍵)⊢⍵    ⍝ monadic: enclose if simple
}

code_colours

test script

Back to: notes

Back to: Workspaces