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
When an anonymous function is defined and then immediately applied (fn x -> x + 1).(0), if it is compiled code, then the Erlang VM executes it as a case. (Explaining the wrapping in a tuple, as that's how I did it for a custom def)
So nothing can be done on my end, and it's plenty normal.
Shakadak
changed the title
[internals] improper data in anonymous function view
[internals] Detect immediatly applied funs and change the error message accordingly
Nov 3, 2021
investiguate this strange data
Should display
[1, 2, 3]
instead of the same but wrapped in a 1-tuple.The text was updated successfully, but these errors were encountered: