Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Has the `where` keyword in Daml anything to do with the `where` keyword in Haskell?Forum ↗

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

App Development3 posts170 views1 likesLast activity Dec 2021
GY
gyorgybalazsiOP
Dec 2021

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

GA
Gary_Verhaegen
Dec 2021

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.

GY
gyorgybalazsi
Dec 2021

Thank you

← Back to Discussions