Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
At the moment, command stack new hello-world $TEMPLATE_NAME generates project structure where name-as-module value is Helloworld instead of HelloWorld. Example
stack new hello-world $TEMPLATE_NAME
stack new hello-world \
-p organization:tkachuk-labs \
-p env-prefix:HELLO_WORLD \
The text was updated successfully, but these errors were encountered:
The Data.Text function toTitle (used to generate the name-as-module) has a bug: apparently, dashes are considered as letters for some reason. This has to be fixed in the text package.
Sorry, something went wrong.
As a workaround, I can submit a PR that first converts the dashes to spaces, then applies the title-casing, then removes spaces instead of dashes.
Submitted PR #5386 as a fix.
Thanks for the fix!
No branches or pull requests