Skip to content
New issue

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? Sign in to your account

add support for constants #72

Open
ryzhyk opened this issue Aug 24, 2018 · 2 comments
Open

add support for constants #72

ryzhyk opened this issue Aug 24, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue (Haskell) Good first issue that requires the knowledge of Haskell

Comments

@ryzhyk
Copy link
Contributor

ryzhyk commented Aug 24, 2018

At the moment, constants can be simulated by 0-arity functions. The main downside is the need to use parenthesis every time a constant is referenced. Also, function names start with lower-case letters, whereas it is customary to capitalize constant names.

@ryzhyk ryzhyk added the enhancement New feature or request label Aug 24, 2018
@ryzhyk ryzhyk self-assigned this Aug 24, 2018
@mihaibudiu
Copy link

I think this is also done #636

@ryzhyk
Copy link
Contributor Author

ryzhyk commented Apr 30, 2020

We still don't have the syntactic sugar for constants. In particular, parsing them will be tricky and will probably require an extra pass to figure out that something is a constant.

@ryzhyk ryzhyk added the good first issue (Haskell) Good first issue that requires the knowledge of Haskell label May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue (Haskell) Good first issue that requires the knowledge of Haskell
Projects
None yet
Development

No branches or pull requests

2 participants