- changed title to Make F#'s output be asynchronous
- changed component to f#
- edited description
Make F#'s output be asynchronous
Issue #161
invalid
Currently, F#'s output is stored up and then printed all at once. This is useful for some uses (deciding to display it or not) but for the interacting code, it delays all of the output until the end. This can easily be done by a pass-through Stream Writer. In fact, just letting stdout and stderr be the default will allow this to work correctly. Perhaps we need a special version for F# so we can turn on/off this ability.
Comments (4)
-
reporter -
This seems to work for me:
for i in 1 .. 10 do printfn "%d" i Myro.wait(1.) done
-
reporter Huh! Why does it work? I would not have guessed this from the code...
-
reporter - changed status to invalid
Never mind...it works through mysterious means :)
- Log in to comment