# Has the \`where\` keyword in Daml anything to do with the \`where\` keyword in Haskell?

**URL:** <https://forum.canton.network/t/has-the-where-keyword-in-daml-anything-to-do-with-the-where-keyword-in-haskell/3557>\
**Category:** App Development\
**Created:** [December 10, 2021, 8:06pm UTC](https://forum.canton.network/t/has-the-where-keyword-in-daml-anything-to-do-with-the-where-keyword-in-haskell/3557 "2021-12-10T20:06:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gyorgybalazsi](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gyorgybalazsi/32/684_2.png) [@gyorgybalazsi](https://forum.canton.network/u/gyorgybalazsi)\
**Post date:** [December 10, 2021, 8:06pm UTC](https://forum.canton.network/t/has-the-where-keyword-in-daml-anything-to-do-with-the-where-keyword-in-haskell/3557/1 "2021-12-10T20:06:41Z")

</div>

Has the `where` keyword in Daml anything to do with the `where` keyword in Haskell?

---

<div class="post-metadata">

**Author:** ![Gary\_Verhaegen](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gary_verhaegen/32/81_2.png) [@Gary\_Verhaegen](https://forum.canton.network/u/Gary_Verhaegen)\
**Post date:** [December 10, 2021, 8:08pm UTC](https://forum.canton.network/t/has-the-where-keyword-in-daml-anything-to-do-with-the-where-keyword-in-haskell/3557/2 "2021-12-10T20:08:40Z")

</div>

Sort of. You can use `where` in function definitions just like in Haskell, so in that sense, yes. The `where` keyword that is part of the template syntax has no direct equivalent in Haskell, as Haskell has no template syntax.

---

<div class="post-metadata">

**Author:** ![gyorgybalazsi](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/gyorgybalazsi/32/684_2.png) [@gyorgybalazsi](https://forum.canton.network/u/gyorgybalazsi)\
**Post date:** [December 10, 2021, 9:02pm UTC](https://forum.canton.network/t/has-the-where-keyword-in-daml-anything-to-do-with-the-where-keyword-in-haskell/3557/3 "2021-12-10T21:02:52Z")

</div>

Thank you
