by tef____ · 15y ago · 0 comments
that was my point. if you think it is worthwhile, well - enjoy :-)
if you want to write in something with a uniform syntax, use scheme or clojure. python things look different for a reason.
return List(..).update(..).update(..)
Instead of; l = List(...)
l.update(...)
l.update(...)
return l
You can still use lisp comprehension, itertools, etc. In fact, I could pass a moka.List to your existing code and you wouldn't even notice it. (And you do, it's a mistake that I'd fix).I do agree that I might have been overkill with some useless methods and I'm thinking about removing them. (I.e. such as 'join' as it's really not needed)