HF RL Explorer

Task: Implement Recursive Anonymous Functions in Erlang

Task: Implement Recursive Anonymous Functions in Erlang: a task in Terminal-Lego-15k (Harbor dataset). In Erlang, you cannot directly reference a variable inside a fun (anonymous function) definition before it has been bound. This causes an "unbound variable" error when attempting to write…

The task

In Erlang, you cannot directly reference a variable inside a `fun` (anonymous function) definition before it has been bound. This causes an "unbound variable" error when attempting to write recursive anonymous functions:

Part of PrimeIntellect/Terminal-Lego-15k.