3 ms·
As I read this I thought "That's about one line in Prolog." I was wrong; it's two.
by dreamcompiler 7y ago
As I read this I thought "That's about one line in Prolog." I was wrong; it's two.
- jdc 7y agoBy that logic, it's zero LoC in the Python list comprehension version.
- tartrate 7y agoAnd zero with Haskell too.
- deleted 7y ago[deleted]
- carapace 7y agoIsn't the version on there just a reimplementation of member/2? http://rosettacode.org/wiki/Amb#Prolog http://rosettacode.org/wiki/Amb#Prolog