# Functions in data structure

**URL:** <https://forum.canton.network/t/functions-in-data-structure/1417>\
**Category:** App Development\
**Tags:** daml, ledger-api\
**Created:** [October 7, 2020, 1:00pm UTC](https://forum.canton.network/t/functions-in-data-structure/1417 "2020-10-07T13:00:00Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![bernhard](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/bernhard/32/356_2.png) [@bernhard](https://forum.canton.network/u/bernhard)\
**Post date:** [October 8, 2020, 12:33pm UTC](https://forum.canton.network/t/functions-in-data-structure/1417/12 "2020-10-08T12:33:23Z")

</div>

Sure, DAML is turing complete so I could store arbitrary functions as text and interpret them in DAML. But that for me doesn’t extend functionality after the fact. It’s using an escape hatch to encode arbitrary functionality from the get-go.

---

_[View the full topic](https://forum.canton.network/t/functions-in-data-structure/1417)._
