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
As in javascript the natural first element of an array is 0, when destructuring, the compiler will assign that index to the first element. That's not the case for Lua, hence when destructuring you must always include a nil element:
(let [[_ a b c] some-list]
...)
The text was updated successfully, but these errors were encountered:
As in javascript the natural first element of an array is 0, when destructuring, the compiler will assign that index to the first element. That's not the case for Lua, hence when destructuring you must always include a nil element:
(let [[_ a b c] some-list] ...)
The text was updated successfully, but these errors were encountered: