A Doodle In DAML — Part 1

What’s a Doodle?

The DAML Doodle

As a side note, you probably have noticed that in DAML, when invoking a function, parameters are not places between braces. They are just added after the function name.

You’ll notice that in order to specify the maintainer we compute it from the key using the “fst key” expression. This may seem odd from an object oriented programming point of view where “fst” would be a behavioral feature of the tuple and you’d say something like “key.fst”. DAML however is a functional language, therefore fst is a function and you invoke it by passing the tuple as a parameter.

Choices, Contract Archival and Creation

Working With Lists

To Be Continued



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store