Making top level definitions in REPL
- bernhardOP 1
I would like to define a recursive function in DAML REPL, but I get error
Failure to process DAML program, this feature is not currently supported. Local variables defined recursively - recursion can only happen at the top level.Is this currently possible?
- cocreature 1
At the moment no,
letin DAML REPL is equivalent toletanywhere else in DAML so it’s not a top-level definition.