如何同步 Julia 语言的输出?

How to synchronise output in Julia language?

我试图在一个循环中循环,输出每个值,然后打印其他一些函数的结果。

但是输出看起来很奇怪,循环的输出与其他函数的输出混合在一起。

有什么方法可以同步吗?我使用的是 Jupyter,而不是 Julia 控制台。

正如 Gnimuc K. 在评论中指出的那样:

this has already been fixed here, but unreleased yet. you should work on the master via Pkg.checkout("IJulia")