Categories
- Blog (104)
- Lua (13)
- Miscellaneous (48)
- Photos (6)
- Programming (33)
- Python (15)
- Sample (3)
- Web Design (3)
- Writing (2)
- Portfolio (40)
- Snippets (28)
- Blog (104)
Tag Archives: lambda
Python: Self references in List comprehension
One of the great abilities in Python that is copied over from Haskell is the ability to construct lists from other lists or iterators inline. This is of course limiting in certain cases where self references are necessary. For example,…
Posted in Blog, Programming, Python, Snippets
|
Tagged haskell, lambda, list comprehension, Python, self reference, tips, ugly
|
1959Leave a commenthttp%3A%2F%2Ffailboat.me%2F2010%2Fpython-self-references-in-list-comprehension%2FPython%3A+Self+references+in+List+comprehension2010-07-21+03%3A09%3A23Leehttp%3A%2F%2Ffailboat.me%2F%3Fp%3D1959