Re: [julia-users] Semicolon behaviour

2015-10-14 Thread Yichao Yu
On Wed, Oct 14, 2015 at 9:05 AM, Cedric St-Jean 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-colo

[julia-users] Semicolon behaviour

2015-10-14 Thread Cedric St-Jean
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? function whatev(fun) fun() end u = whatev() do 2; end @show u > u = 2