HF RL Explorer

Task: Demonstrate Recursive vs Non-Recursive Function Binding in OCaml

Task: Demonstrate Recursive vs Non-Recursive Function Binding in OCaml: a task in Terminal-Lego-15k (Harbor dataset). In OCaml, functions are not recursive by default. You must explicitly use the rec keyword to allow a function to call itself. This design decision has important implications for…

The task

In OCaml, functions are not recursive by default. You must explicitly use the `rec` keyword to allow a function to call itself. This design decision has important implications for scoping and shadowing.

Part of PrimeIntellect/Terminal-Lego-15k.