diff options
author | Ian Johnson <ian.johnson@appliedlanguage.com> | 2012-10-12 18:34:57 +0400 |
---|---|---|
committer | Ian Johnson <ian.johnson@appliedlanguage.com> | 2012-10-12 18:34:57 +0400 |
commit | c2916085c5ab3aa7f010d5ba966354bbaff05ce5 (patch) | |
tree | 3c3c0d20f0b40b295f70e676eb695a42621d3937 | |
parent | f9c76d461c8fc1d4df81f7e82f0db6fbc9a956fa (diff) |
Fixed erroneous comments.
-rw-r--r-- | src/pypeline/helpers/helpers.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pypeline/helpers/helpers.py b/src/pypeline/helpers/helpers.py index 190d8fb..5a6b7cd 100644 --- a/src/pypeline/helpers/helpers.py +++ b/src/pypeline/helpers/helpers.py @@ -118,14 +118,13 @@ def cons_function_component(function, def bind_function(a): def state_function(s): - # Transform the value into a line, that when - # injected into stdin, the subprocess will understand + # Transform the input transformed_a = input_forming_function(a, s) if input_forming_function else a # Apply new_a = function(transformed_a, s) - # Parse the output from the subprocess + # Transform the output of the function transformed_new_a = output_forming_function(new_a, s) if output_forming_function else new_a # Mutate the state |