I have a function that takes two Party
s sender
and receiver
as arguments and would like to create a string “$sender sends an IOU to $receiver”.
How can I achieve this in Daml?
I have a function that takes two Party
s sender
and receiver
as arguments and would like to create a string “$sender sends an IOU to $receiver”.
How can I achieve this in Daml?
I found the following solution:
show sender <> " sends an IOU to " <> show receiver