Parser error on module header
App Development4 posts261 views1 likesLast activity Dec 2021
BE
Bels3OP
Oct 2021I am experiencing the following problem.

The error is " error: parse error on input ‘accounts’". How should I resolve this. Any assistance will be highly appreciated.
CO
cocreature
Oct 2021BE
Bels3
Oct 2021your assistance is highly appreciated. I will reach for any technical assistance
QU
quidagis
Dec 2021I have seen this issue quite a few times, it bit myself in the beginning also and IIRC, you stated the same thing. Perhaps ‘A module MUST start with a Capital letter’ should be clearly stated in the Documentation, early on.
I just checked the Cheat Sheet and there are 5 references to the term ‘module’, and it displays an example:
Every Daml file starts with a module header like this:
daml 1.2
module Foo where
That could be amended to:
Every Daml file starts with a module header, and the
module name must be Capitalized, like this:
daml 1.2
module Foo where
My $0.02