Skip to main content
Much shorter and simpler.
Source Link
Adám
  • 31.1k
  • 3
  • 124
  • 287

NGN/APL

NGN/APL allows redefining primitives, so redefining () all primitive functions to ("pass through": both ⊢3 and 2⊢3 gives 3) makes the language completely useless:

⍪←⊢⋄⍪←-←⊢⋄+←⊢⋄←+←?←⊢⋄⍵←⊢⋄∊←⊢⋄⍴←⊢⋄~←⊢⋄↑←⊢⋄↓←⊢⋄⍳←⊢⋄○←⊢⋄*←⊢⋄⌈←⊢⋄⌊←⊢⋄⍕←⊢⋄⊂←⊢⋄⊃←⊢⋄∩←⊢⋄∪←⊢⋄⊥←⊢⋄⊤←⊢⋄|←⊢⋄<←⊢⋄≤←⊢⋄=←⊢⋄≥←⊢⋄>←⊢⋄≠←⊢⋄∨←⊢⋄∧←⊢⋄×←⊢⋄÷←⊢⋄⍒←⊢⋄⍋←⊢⋄⌽←⊢⋄⍉←⊢⋄⊖←⊢⋄⍟←⊢⋄⍱←⊢⋄⍲←⊢⋄←⍵←∊←⍴←~←↑←↓←⍳←○←*←⌈←⌊←⍕←⊂←⊃←∩←∪←⊥←⊤←|←<←≤←=←≥←>←≠←∨←∧←×←÷←⍒←⍋←⌽←⍉←⊖←⍟←⍱←⍲←!←⊢⋄⌹←⊢⋄⊣←⊢⋄⍎←⊢←⌹←⊣←⍎←⊢

Try it here.Try it here.

NGN/APL

NGN/APL allows redefining primitives, so redefining all primitive functions to ("pass through": both ⊢3 and 2⊢3 gives 3) makes the language completely useless:

⍪←⊢⋄-←⊢⋄+←⊢⋄?←⊢⋄⍵←⊢⋄∊←⊢⋄⍴←⊢⋄~←⊢⋄↑←⊢⋄↓←⊢⋄⍳←⊢⋄○←⊢⋄*←⊢⋄⌈←⊢⋄⌊←⊢⋄⍕←⊢⋄⊂←⊢⋄⊃←⊢⋄∩←⊢⋄∪←⊢⋄⊥←⊢⋄⊤←⊢⋄|←⊢⋄<←⊢⋄≤←⊢⋄=←⊢⋄≥←⊢⋄>←⊢⋄≠←⊢⋄∨←⊢⋄∧←⊢⋄×←⊢⋄÷←⊢⋄⍒←⊢⋄⍋←⊢⋄⌽←⊢⋄⍉←⊢⋄⊖←⊢⋄⍟←⊢⋄⍱←⊢⋄⍲←⊢⋄!←⊢⋄⌹←⊢⋄⊣←⊢⋄⍎←⊢

Try it here.

NGN/APL

NGN/APL allows redefining primitives, so redefining () all primitive functions to ("pass through": both ⊢3 and 2⊢3 gives 3) makes the language completely useless:

⍪←-←+←?←⍵←∊←⍴←~←↑←↓←⍳←○←*←⌈←⌊←⍕←⊂←⊃←∩←∪←⊥←⊤←|←<←≤←=←≥←>←≠←∨←∧←×←÷←⍒←⍋←⌽←⍉←⊖←⍟←⍱←⍲←!←⌹←⊣←⍎←⊢

Try it here.

Fixed partial solution.
Source Link
Adám
  • 31.1k
  • 3
  • 124
  • 287

NGN/APL

NGN/APL allows redefining primitives, so redefining all primitive functions to +←= removes the ability to add two numbers. Try it here.("pass through": both ⊢3 and 2⊢3 gives 3) makes the language completely useless:

⍪←⊢⋄-←⊢⋄+←⊢⋄?←⊢⋄⍵←⊢⋄∊←⊢⋄⍴←⊢⋄~←⊢⋄↑←⊢⋄↓←⊢⋄⍳←⊢⋄○←⊢⋄*←⊢⋄⌈←⊢⋄⌊←⊢⋄⍕←⊢⋄⊂←⊢⋄⊃←⊢⋄∩←⊢⋄∪←⊢⋄⊥←⊢⋄⊤←⊢⋄|←⊢⋄<←⊢⋄≤←⊢⋄=←⊢⋄≥←⊢⋄>←⊢⋄≠←⊢⋄∨←⊢⋄∧←⊢⋄×←⊢⋄÷←⊢⋄⍒←⊢⋄⍋←⊢⋄⌽←⊢⋄⍉←⊢⋄⊖←⊢⋄⍟←⊢⋄⍱←⊢⋄⍲←⊢⋄!←⊢⋄⌹←⊢⋄⊣←⊢⋄⍎←⊢

Try it here.

NGN/APL

NGN/APL allows redefining primitives, so +←= removes the ability to add two numbers. Try it here.

NGN/APL

NGN/APL allows redefining primitives, so redefining all primitive functions to ("pass through": both ⊢3 and 2⊢3 gives 3) makes the language completely useless:

⍪←⊢⋄-←⊢⋄+←⊢⋄?←⊢⋄⍵←⊢⋄∊←⊢⋄⍴←⊢⋄~←⊢⋄↑←⊢⋄↓←⊢⋄⍳←⊢⋄○←⊢⋄*←⊢⋄⌈←⊢⋄⌊←⊢⋄⍕←⊢⋄⊂←⊢⋄⊃←⊢⋄∩←⊢⋄∪←⊢⋄⊥←⊢⋄⊤←⊢⋄|←⊢⋄<←⊢⋄≤←⊢⋄=←⊢⋄≥←⊢⋄>←⊢⋄≠←⊢⋄∨←⊢⋄∧←⊢⋄×←⊢⋄÷←⊢⋄⍒←⊢⋄⍋←⊢⋄⌽←⊢⋄⍉←⊢⋄⊖←⊢⋄⍟←⊢⋄⍱←⊢⋄⍲←⊢⋄!←⊢⋄⌹←⊢⋄⊣←⊢⋄⍎←⊢

Try it here.

Source Link
Adám
  • 31.1k
  • 3
  • 124
  • 287

NGN/APL

NGN/APL allows redefining primitives, so +←= removes the ability to add two numbers. Try it here.