DennisMitchell / jellylanguage

Jelly is a recreational programming language inspired by J.
MIT License
861 stars 47 forks source link

Added 'any' atom #50

Closed GolfingSuccess closed 7 years ago

GolfingSuccess commented 7 years ago

would behave like but for any instead of all.

Test cases:

DennisMitchell commented 7 years ago

I just merged your PR to update the "unused letters for single atoms". Could you remove as well.

Also, why would [0, 0, [], 0] yield 1?

GolfingSuccess commented 7 years ago

sorry for being late, but I removed as well, and yes [0, 0, [], 0] should return 1 (untested) to keep up with 's behavior

DennisMitchell commented 7 years ago

[0, 0, [], 0] returns 0 as it should, as all elements of the array are falsy.