3 ms·
You still need the struct because all of these s = append(s, f()) m[k] = f() c <- f() f().DoStuff() h(f(), g()) work with single-valued functions bu
by prodigal_erik 10y ago
You still need the struct because all of these
s = append(s, f())
m[k] = f()
c <- f()
f().DoStuff()
h(f(), g())
work with single-valued functions but not multi-valued functions. The feature is not well integrated with the rest of the language.