3 ms·
These are pretty close to the debug statements in haskell. This is partially problematic because of lazy evaluation. It is not clear when the print-statement w
by rocqua 8y ago
These are pretty close to the debug statements in haskell.
This is partially problematic because of lazy evaluation. It is not clear when the print-statement will actually print. This could even lead to a re-ordering of the print statements.
Another issue occurs when output is piped to input.
In bash you could do something weird like:
foo -i bar.txt >> bar.txt
where -i is an input argument. I have to admit that I can't come up with a reason to run the above command. Really, maybe just ignore this part and consider the ordering issue.