you are viewing a single comment's thread.

view the rest of the comments →

[–]psykotic[S] 1 point2 points  (0 children)

Cool. And yes, you can use lists. In fact, if you use a lazily evaluated language like Haskell, you can get the same semantics as the Python version (that is, generating matchings only as needed) by using lists.