3 ms·
I just looked at the meaning of life. That's unlikely to work with many "hosted" APLs because of the use of eval, which is a security concern in an online REPL.
by arcfide 10y ago
I just looked at the meaning of life. That's unlikely to work with many "hosted" APLs because of the use of eval, which is a security concern in an online REPL.
However, if you remove the execute you can still get a string version:
⊖⍕⊃⊂|⌊-*+○⌈×÷!⌽⍉⌹~⍴⍋⍒,⍟?⍳0
42
You can paste this into the REPL at TryAPL.org.
- throwaway7645 10y ago+5 bad@$$ points sir.
- jarpineh 10y agoWell, it seemed interesting and I suspected it would result in 42, however else it would do its work :) Perhaps that's one way t frame the Question.
- arcfide 10y agoWhat's really interesting about the above is that it is "seeded" with a random number. :-)