logic{                         ⍝ Logical function array.
    ⊃(0 1 2 3=+/⍺ ⍺ ⍵)∨.∧{
        ⊂⍤¯1⊢2 2 2 2⊤⍵
    }⍺ ⍺⍺ ⍵
}
code_colours

test script

Back to: notes

Back to: Workspaces