Hacker News new | past | comments | ask | show | jobs | submit login

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.




Well, 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.


What's really interesting about the above is that it is "seeded" with a random number. :-)


+5 bad@$$ points sir.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: