You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the time someone uses .map they don't want to handle all arguments, but only first one, i.e. write code like this:
items.map(it=>it.name);
Is it possible to implement in AssemblyScript using e.g. trampoline function of proper type passed to .map which will just passthrough throwing out extra args? Ideally compiler should also be able to inline whole construction into single loop in case when passed function is constant.