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

Make empty argument lists optional #69

Closed
jgrosso opened this issue Sep 26, 2019 · 0 comments
Closed

Make empty argument lists optional #69

jgrosso opened this issue Sep 26, 2019 · 0 comments
Labels
ast Anything related to the internal representation of the AST. improvement Adding a new feature, improving an existing feature, etc.

Comments

@jgrosso
Copy link
Collaborator

jgrosso commented Sep 26, 2019

This might require having where bindings be wrapped in an extra set of parentheses, so as to avoid ambiguities between the optional argument list, required function body, and optional where-bindings. To fix this, we'll change (= foo args ...) to (= (foo args) ...) (which has the added benefit of matching how functions are defined in Common Lisp etc., and even – in a sense – Haskell!).

@jgrosso jgrosso changed the title Make empty constraint lists optional Make empty argument lists optional Sep 26, 2019
@jgrosso jgrosso added ast Anything related to the internal representation of the AST. improvement Adding a new feature, improving an existing feature, etc. labels Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ast Anything related to the internal representation of the AST. improvement Adding a new feature, improving an existing feature, etc.
Projects
None yet
Development

No branches or pull requests

1 participant