#18118: transducer: convenience option for process words iterativly (and showing
output)
-------------------------------------+-------------------------------------
Reporter: dkrenn | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.6
Component: finite state | Resolution:
machines | Merged in:
Keywords: sd66 | Reviewers:
Authors: Daniel Krenn | Work issues: see comment 10
Report Upstream: N/A | Commit:
Branch: u/cheuberg/fsm | 137cbf9a94356ca0ebef56de92125da4fff44d77
/iter_process-simple | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by cheuberg):
* status: needs_review => needs_work
* work_issues: => see comment 10
Comment:
* Added two minor commits, please cross-review
* The description of `iter_process` does not explain why a user would want
to have a simple iterator. Could you elaborate and/or provide an
illustrating example (for simplicity, for finite input instead of an
infinite word) on how the standard and the simple iterator differ?
* IMHO, there should be doctests for all error conditions in
`_iter_process_simple_`
* I do not understand the code of `_iter_process_simple_`:
- why do you need to set `output = outputs[0]` and iterate over `output`
instead of `outputs[0]`?
- why do you reset `outputs[0] = []` at the end?
Could you please add comments on that?
* Please add a `SEE ALSO` block for `_iter_process_simple_` even if it
does not currently show up in the reference manual.
--
Ticket URL: <http://trac.sagemath.org/ticket/18118#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.