Re:N-queen puzzle in 4 lines of Scala
by Rangi42 on Sunday April 10, 2016 @05:24PM
(#11468243)
Python 3's `yield from` lets you write that in one statement:
It also illustrates how much neater list comprehensions can be in Python versus map/filter since its lambda functions are fairly verbose (even though there's a straightforward correspondence between them):
[ Parent
| on HN ]