On Wed, Oct 14, 2015 at 9:05 AM, Cedric St-Jean <cedric.stj...@gmail.com> wrote: > I keep running into cases where I expect the semi-colon to remove the output > (return nothing), but something is returned. Am I misunderstanding the > semi-colon's role as a separator, or is that a parser bug?
The only thing that semi-colon surpresses is printing of result in REPL (and IJulia). Nothing about the return value will change. http://julia.readthedocs.org/en/latest/manual/getting-started/#getting-started > > function whatev(fun) > fun() > end > u = whatev() do > 2; > end > @show u >> u = 2 > >