Elifant
2007-07-03 07:45:43 UTC
Hello all.
Is it possible to write mutually recursive local functions in Nemerle?
def a()
b()
def b()
a()
gives "unbound name 'b'"
Known workarounds:
1. make them class methods (need to explicitly type them)
2. pass one as parameter to other (ugly)
Are there other possibilities?
Is it possible to write mutually recursive local functions in Nemerle?
def a()
b()
def b()
a()
gives "unbound name 'b'"
Known workarounds:
1. make them class methods (need to explicitly type them)
2. pass one as parameter to other (ugly)
Are there other possibilities?