It seems to localize single variables but not arrays. I could even
implement an async that I could interrupt by updating values in a global
array. I actually don't know of any sane way to do this, i.e., interrupt a
task or an async bloc from the main thread?
global x = zeros(1)
@async begin
Hi,
I'm a new scientific user and Julia is an exciting prospect. I read through
the manual on types and methods, but got confused about how I can define a
new abstract type (= trait according to some of the literature)
abstract AbsType
and write methods for it such as
function func2(x::AbsTy