Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Does DAML Repl support multi-line inputsForum ↗

Does DAML Repl support multi-line inputs

App Development2 posts345 views2 likesLast activity Sep 2020
BE
bernhardOP
Sep 2020

If I want to define a function using do notation, how do I do that?

CO
cocreature
Sep 2020

At the moment, there is no option for multi-line inputs. What you can do is to define it on a single line with lines separated by ;, So something like:

do p <- allocateParty "p"; submit p (createCmd (T p))

Fully agree, that we should support some kind of multiline input.

← Back to Discussions