DennisMitchell / jellylanguage

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

Add Ƙ (where) quick #88

Open lynn opened 4 years ago

lynn commented 4 years ago

Let F be a monadic link. is a dyad that maps (x, y) to [t for t in x if F(t) == y].

So, …LƘ4 means “filter to elements whose Length is 4”.

This is a shorter way to write …L=¥Ƈ4 or …L=4ƊƇ.