News for hackers. Stuff that matters.
Re:Piep: bringing the power of python to stream editing by michaelmior on Thursday March 29, 2012 @01:02PM (#3771938)
You add an if using the ternary style syntax. i.e. "if foo then bar else baz". I think that's sufficient for what piep is trying to do. I can't imagine trying to do anything else with indentation that couldn't be accomplished with list comprehensions.
Re:Piep: bringing the power of python to stream editing by berntb on Thursday March 29, 2012 @01:17PM (#3772019)
Sigh, do people really don't want to see that full support for one liners (not to mention anon funs of > 1 instruction) is a feature?! :-(