Re:Functional programming in Python
by groovy2shoes on Friday May 11, 2012 @06:19PM
(#3961740)
You can always use 2-tuples to get lists in the Lisp sense. You'd add an item to the head of a list by just pairing it:
Toss in some small helper functions and they become less unwieldy. You could pretty easily write an iterator for processing these lists:
Then you can do stuff like:
[ Parent
| on HN ]
There are no comments on this comment yet.