Skip to content
CCPEDIAby Unity Nodes
App Development

Does DAML Repl support multi-line inputs

2 posts352 views2 likesLast activity Sep 2020

  1. bernhardOP 1

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

  2. cocreature 1

    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.