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

Coalton expression only takes one form, faux-macro implies multiple forms #1317

Open
Izaakwltn opened this issue Oct 18, 2024 · 0 comments
Open

Comments

@Izaakwltn
Copy link
Collaborator

Although the faux-macro/minibuffer definition is (coalton &rest forms), coalton only takes one form/ doesn't have implicit progn.

For instance:

COALTON-USER> (coalton (+ 1 2) (+ 3 4))

returns the error:

error: Malformed coalton expression
  --> <macroexpansion>:1:17
   |
 1 |  (COALTON (+ 1 2) (+ 3 4))
   |                   ^^^^^^^ unexpected form
   [Condition of type COALTON-IMPL/PARSER/BASE:PARSE-ERROR]

Either the faux-macro syntax should be changed to (coalton form) or coalton should be amended to handle multiple forms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant