Anonymous user
Talk:User defined pipe and redirection operators: Difference between revisions
Talk:User defined pipe and redirection operators (view source)
Revision as of 00:04, 14 September 2011
, 12 years ago→more ambitious than unix: re: Python - Thinking aloud...
m (rm dup section) |
m (→more ambitious than unix: re: Python - Thinking aloud...) |
||
Line 134:
cat = Filter(
def grep_code(pattern, args):
Line 146:
cat("List_of_computer_scientists.lst") | grep("ALGOL") > "ALGOL_pioneers.lst"</lang>
So try not using "
I hope that helps.
[[User:NevilleDNZ|NevilleDNZ]] 22:24, 13 September 2011 (UTC)
Thinking aloud: Python three+ different ways of achieving this pseudo-piping. Decorators, functional-programming and sub-classing. However overloading the operators is easiest done via a subclass. In Algol (I believe) functional-programming must be used.
[[User:NevilleDNZ|NevilleDNZ]] 00:04, 14 September 2011 (UTC)
|