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

As I read this I thought "That's about one line in Prolog." I was wrong; it's two.

Isn't the version on there just a reimplementation of member/2?


By that logic, it's zero LoC in the Python list comprehension version.

And zero with Haskell too.

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