KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to write a recursive fun in an Erlang shell, but I keep getting an unbound variable exception: 1> Foo = fun(X) -> Foo(X) end. * 1: variable 'Foo' is unbound This probably goes without saying, but I'm not trying to create an infinite loop! This is just a simple example of the error I'm getting.
Tags (comma-separated)
Save Edits
Cancel